Re: syntax question

From: Date: Mon, 26 Mar 2007 15:14:14 +0000
Subject: Re: syntax question
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-251372@lists.php.net to get a copy of this message
thanks. ""Ross"" <ross@aztechost.com> wrote in message news:8F.10.54015.9CFD7064@pb1.pair.com... > Can I put post values directly into insert statements? > > $query = "INSERT INTO categories (category_name) VALUES > ('$_POST['cat_name'])";

« previous php.general (#251372) next »