You are here: Re: A query from $_POST using foreach « All PHP « IT news, forums, messages
Re: A query from $_POST using foreach

Posted by kenoli on 11/09/06 16:32

Thanks. Please take no offense about the bickering remark; It was more
of an appreciation of the energy that gets put into these posts.

So, suppose I wanted to derive something like:

WHERE $key1=$value1 AND $key2=$value2 . . .

from my $_POST?

How would I construct that? I presume I can make the form names the
same as the database columns so a $key = $value will result in the
proper sql statement.

And how could I separate out the arrays (like checkboxes) from the
other form input values so I can render them differently?

 

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

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