View Single Post
Old 12-18-2004, 09:27 PM   #2 (permalink)
insitedev
Inactive
 
insitedev's Avatar
 
Join Date: 12-14-04
Posts: 108
iTrader: 0 / 0%
Latest Blog:
None

insitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebodyinsitedev is liked by somebody
Can you post up some code for us to look at? It could be something along the lines of your query not being valid, or your overwriting your result variable. That, and it is saying "1 is not a valid...". Are you trying to set it to a numeric variable?

It could also be that your connection resource variable isn't defined in the function that you are using (assuming that you are using functions).

for instance, if you are using $dbh for your mysql_connect variable inside of a function, then calling something that uses $dbh from another function, it might not have access to it. If that is the case, add global $dbh; to the top of that second function.

If we could see the code that you are using, it would really help out.

Last edited by insitedev : 12-18-2004 at 09:35 PM.
insitedev is offline   Reply With Quote