Re: insert to table in php scripts

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

 



hi nigen,
the intention of that 'exit' was to stop the script temporarily to
avoid any second time inserts. i think you better figure-out what
caused your script to insert same data twice in a single form post.

to hide the form, 'exit' is not the best option. there are several
different ways, one simple method the 'header' function.
http://www.php.net/manual/en/function.header.php


~viraj

On Sat, May 28, 2011 at 1:50 PM, Negin Nickparsa <nickparsa@xxxxxxxxx> wrote:
> i used your exit too,yes it's better to hide the form after registration:)

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



[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux