I'm real new to PHP, and I made a random insult page, per se, just to try out php. It gets the name from the link like:
mysite.com/index.php?name=xxx
then, i have a refresh button, so once the person has gone on, and seen their insult, they can refresh the page, with their name still in there.
i tried this:
Code: Select all
echo "<A HREF='http://mysite.com/index.php?name=";
echo $name;
echo "' TARGET='_self'\>refresh.</A>";thanks,
nick podges