January 27th, 2003, 10:17 PM
Join Date: Apr 2007
Time spent in forums: < 1 sec
Reputation Power: 0
Passing variables from one html page to another...
I am trying to follow a simple example for posting variables from one web page to another....I was hoping someone might be able to explain what this error means to me!
this is where i pass my variable name:
<head><title>Testing Vars </title></head>
<a href="welcome.php?$name=Kevin">Hi, I'm Kevin! </a>
and this is where i am getting my error:
echo ("Welcome to our Web Site, $_GET['name']!");
this is what the error says:
Notice: Undefined index: 'name' in E:Inetpubwwwrootallnorth_testwelcome.php on line 10
Welcome to our Web Site, !
I know this is a very simple example, but i have to figure this out in order to apply it to what i am doing....in which i am getting the same errors only there is so much code that i cannot figure it out!!
i hope someone can help,