Hello!
Please help me how to pass a value thru a url because it does not work.
.>>>testing.html
<A HREF=“welcome.php?name=Kevin”> Hi, I’m Kevin! </A>
>>>welcoome.php
<?php
echo( “Welcome to our Web site, $name!” );
?>
>> THE RESULT, THE VALUES IS EMPTY. PLEASE HELP ME.
Welcome to our Web site, !
It looks like you’re used to Register_Globals being set on?
To access a value from the URL, use $_GET:
echo 'Welcome to out website, ' . $_GET['name'];