KevinUK
Can't get enough of FH
- Joined
- Dec 22, 2003
- Messages
- 649
I am using dreamweaver where in the SQL view I press the test button and it returns the correct value, the SQL is a simple id = url id typed in.
The problem is on localhost and on my server the code always loads the data from row 1
The url is correct, content/file.php?id=2 yet when the page loads, the data is that of id 1 and not 2.
The code should work, I have similar code all over the site which works and like I said, its working in dream weaver.
Any ideas? It's not a one off, I coded something else which has the same problem. PHP is on the server, im using PHP forums etc...
Thanks
The problem is on localhost and on my server the code always loads the data from row 1
The url is correct, content/file.php?id=2 yet when the page loads, the data is that of id 1 and not 2.
The code should work, I have similar code all over the site which works and like I said, its working in dream weaver.
Any ideas? It's not a one off, I coded something else which has the same problem. PHP is on the server, im using PHP forums etc...
Thanks