Re: inserting blank records into database WHY?
| From: | namaide tajeryno | Date: | Mon, 26 Aug 2002 15:14:13 +0000 |
| Subject: | Re: inserting blank records into database WHY? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-21364@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "murtaza" <m_chandan@kuwaitnet.net>
Date: Mon, 26 Aug 2002 15:16:34 +0300
To: <php-db@lists.php.net>
Subject: [PHP-DB] inserting blank records into database WHY?
> mysql_query("INSERT INTO
guestbook(name,location,email,url,comments) values
('$name','$location','$email','$url','$comments')");
if you don't have register_globals (http://www.php.net/manual/en/security.registerglobals.php)
set on, you need to use the $_POST or $_REQUEST array to get at the
form variables.
namaide
monjoy
--
_______________________________________________
Get your free email from http://www.graffiti.net
Powered by Outblaze