try and and see, i just did and it worked
anyway, thats is the reason you are getting what you are getting.
Mark
code not working, PHP says it is!!!
Moderator: General Moderators
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
Thanks Bech anyway
im sure your right (you always are)
still cant believe i missed out
i really should start sleeping normal hours instead of rushing to get projects finished for clients faster
and im gonna have to try ouy mysql_affected_rows() because i know for a fact in the manual it says it cant be used on SELECT statments
im sure your right (you always are)
still cant believe i missed out
Code: Select all
$result = mysql_query($query)and im gonna have to try ouy mysql_affected_rows() because i know for a fact in the manual it says it cant be used on SELECT statments
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK
lol, i know you didnt get that from the manual

i have tried this before as well and it has never worked for mefrom manual wrote: mysql_affected_rows() does not work with SELECT statements; only on statements which modify records. To retrieve the number of rows returned by a SELECT, use mysql_num_rows().
-
malcolmboston
- DevNet Resident
- Posts: 1826
- Joined: Tue Nov 18, 2003 1:09 pm
- Location: Middlesbrough, UK