i am using a Webuilder as my prog for editing html pages, webuilder is just an editor.
i have configured webuilder to preview php by pointing to the php.exe(a feature that webuilder has), it works fine but:
if i got this simple code(a url query)
first file(this one doesnt need php extension has there is no php in it)(excerpt):
- Code: Select all
<body>
<p><a href="welcome1.php?name=Kevin">Hi, I'm Kevin!</a></p>
</body>
it calls this file wich needs the php extension(has there is php code in it)(excerpt):
- Code: Select all
<body>
<p><?php $name = $_GET['name'];
echo "Welcome to our Web site, $name!";?></p>
</body>
the problem is i need to change the extension of the first file to php to make this link query work, it is strange as this file doesnt hold php code hence it wouldnt need a php extension,?.(all of this running in my preview php in webuilder editor).
my other question is: if i run this same query on firefox on my machine wich has xampp installed souldnt it work?? when i press the link i get a blank page...