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 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]


Удаленная работа для программистов  •  Как заработать на 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

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