You are here: Re: Problem with mysqli_stmt_bind_param :: Variables are not Binding! « PHP Programming Language « IT news, forums, messages
Re: Problem with mysqli_stmt_bind_param :: Variables are not Binding!

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация