My problem:
The following code will not echo my c parameter when I load my page http://localhost/test.php?c=10 with a parameter.
My Code:
<?php
if(isset($c)){
echo($c);
}
?>
Also, When I try without isset like here:
<?php
echo($c)
}
?>
It will say:
Notice: Undefined variable: c in c:\program files\apache group\apache\htdocs\test.php on line 35
Do you know what I may be doing wrong? It appears the php is not concerned with any parameters I include.
Thanks!
Background:
I am new to php. I have apache/php loaded fine and some basic stuff "hello world" php stuff is working as well as a connection and query display to mysql..