----- Original Message -----
From: "murtaza" <[EMAIL PROTECTED]>
Date: Mon, 26 Aug 2002 15:16:34 +0300
To: <[EMAIL PROTECTED]>
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

-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to