Forum Moderators: coopster

Message Too Old, No Replies

Upgrading php3 code to php4

         

fintan

11:12 am on Apr 9, 2003 (gmt 0)

10+ Year Member



I've recieved a site recently in php3 and mySQL, I have php4 running. Now there is one html template page and the content is php/mySQL driven. The problem is the links which are database driven and link to the content also the fact that I'm a newbie to php doesn't help.

<a href="study.php?id=2&pid=1" class="sublink">flood problems</a>
<a href="study.php?id=3&pid=1" class="sublink">data collections</a>

It will pull out the first instance in the database but say you click on the next link it will pull out the same infomation. Any ideas? Thanks

fintan.

RonPK

12:52 pm on Apr 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hard to say. What is the exact version number of PHP? Do you know the value of the register_globals setting (check phpinfo)?

Maybe you could also post the relevant part of study.php...