|
Posted by sugapablo on 08/29/07 10:20
On Aug 29, 5:25 am, Michael Fesser <neti...@gmx.de> wrote:
> >What happens if you try
>
> >$idNum = 1030;
>
> >?
>
> And the first parameter of bind_param() should be 'i' then.
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.
Navigation:
[Reply to this message]
|