Hello all!
I have a problem with my code. My server uses php4 and instead of upgrading and dealing with the crappy company I'm using, I decided to learn the basics of php4 and use it for now.
My problem is when I try to transfer information from one page to the next. One page has a link that says this:
<html>
<a href="http://www.mysite.com/thispage?fruit=banana&color_name=yellow">
Banana
</a>
</html>
The next page says this:
<?php
$fruittype=$_GET['fruit'];
$colorname=$_GET['color_name'];
$fruitcolor=$fruittype. ", " .$colorname;
echo $fruitcolor;
?>
For some reason this doesn't work and I can't seem to figure out why. Any help will be greatly appreciated!!!
~Amy