Posted by Michael Fesser on 08/29/07 10:36
..oO(sugapablo)
>Well then what's passed to the server is -> select id,email from users
>where id > ; and it gives an error. By passing a string, the bind
>command at least puts in the single quotes (as shown above in my first
>post) and allows the statement to be executed without error.
The ID is numeric, so it should not be treated as a string.
What does bind_param() return? If FALSE - is there an error message
(check the 'error' property of your statement)?
Micha
Navigation:
[Reply to this message]
|