I hear I have to use this $get and $post stuff now, and before I do, I would like to know what it is.
I belive it works like the following
// URL = index.php?var1=Hello&var2=World
echo $var1." ".$var2; // This will echo " "
echo $_get['var1']." ".$_get['var2']; // this will echo "Hello World"
also, if you have a form, where the two fields are called "var1" and "var2", and send that form to index.php, you'll have to use the following
echo $var1." ".$var2; // This will echo " "
echo $_post['var1']." ".$_post['var2']; // this will echo "Hello World"
Of corse this is with the defaults of PHP.
Please tell me it isn't true and why have they done this.
Thanks folx,
Paul.
// Edit, what's the difference between 'echo' and 'print' ?