RE: MySQL Returns Error

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> -----Original Message-----
> From: Jeff [mailto:jroth1@telus.net] 
> Sent: Tuesday, August 05, 2003 3:15 PM
> To: php-db@lists.php.net
> Subject: Re:  MySQL Returns Error
> 
> Every time I access or refresh the page, it adds one blank 
> entry to the DB.
> 
> Maybe I have the insert query in the wrong place?

if ('POST' == $_SERVER['REQUEST_METHOD']) {
//someone submitted the form with method="post"
// so validate input, and if okay store it in db
}

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



[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux