Hi all,
I previously used an obviously old-fashioned style for PHP when I wanted to link pages.
Id post the variables in the URL... eg.
Page 1:
<a href='page2.php?id=<? echo $id2 ?>&name=<? echo $name2?>'>Click for page 2</a>
then on page two in the header, Id have a query such as
"SELECT * from database table where id = '$id' and name = '$name'";
Now, however, my hosting company has updated the server and it no longer works.
I can transfer my form scripts over OK because I just have to identify it as a $_POST['']; or whatever, but the normal URLs dont seem to follow that.
Anyone have any pointers? A lot of my pages depend on these URL variables so I dont think Id be willing to transfer them all to forms!
Thanks.