Reply to Re: A query from $_POST using foreach

Your name:

Reply:


Posted by Michael Fesser on 11/09/06 17:00

..oO(kenoli)

>So, suppose I wanted to derive something like:
>
>WHERE $key1=$value1 AND $key2=$value2 . . .
>
>from my $_POST?
>
>How would I construct that?

You should start with thinking about SQL injection. Using user-submitted
values in a database query without any validation is dangerous.

Micha

[Back to original 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

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