Reply to Re: Undefined index: errors

Your name:

Reply:


Posted by John Oliver on 10/21/04 11:33

On Thu, 1 Dec 2005 22:44:09 +0100, Alvaro G. Vicario wrote:
>> $query = "INSERT INTO petitions VALUES
>> ('','$name','$address','city','county','zip','$phone','$email','$volunteer','contacted','deliverd')";
>> mysql_query($query);
>
> Read some documentation about SQL-Injection.

I know jack squat about MySQL and PHP. That's right out of some online
tutorial I found. And, since it doesn't seem to work...

I need a tutorial or something I can follow along that isn't going to
lie to me about how to do things ;-)

--
* John Oliver http://www.john-oliver.net/ *
* Reform California gun laws - http://www.reformcagunlaws.com/ *
* http://www.gunownersca.com - http://www.crpa.org/ *
* San Diego shooters come to http://shooting.forsandiego.com/ *

[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

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