You are here: Re: Result of checkbox selection into an SQL request « PHP Programming Language « IT news, forums, messages
Re: Result of checkbox selection into an SQL request

Posted by Marcin Dobrucki on 09/13/05 13:10

Nicolas Rubin wrote:

> I would transfer the result of a checkbox selection into an SQL request.
> Could you help me ?

Checkboxes are a bit of a problem: they will only be submitted if
checked. However, the positive thing is that they take the "value"
argument, so basically you can make then anything.

Suggestion: use HTML_QuickForm, and then use the advcheckbox element,
which removes the need to check if the variable has been set or not, you
only need to worry about processing the value. (=> pear.php.net)

/Marcin

 

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

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