Hi,
I've got a problem passing a query string from a HTML file to a PHP file. I created a
HTML file called welcome.html with the following link:
a href=welcome.php?name=Andy Hi, I'm Andy /a
I am trying to pass the query string Andy to a PHP file called welcome.php with the
following command:
?php echo (Welcome, $name!); ?
After i load welcome.html in my browser, i try linking it to welcome.php through
the hyperlink i created. But the result i got was
Welcome, !
Where is Andy? If the code has got no problem, could it be the Web server (IIS) or the
browser (IE) im using? Or the configuration of the Web server is not correct? Pls help!
Thank You
Beginner,
Robbie
-
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!