Or change the $submit to $_GET["submit"]
if (isset($_GET["submit"])) {
mysql_query("INSERT INTO $ntable VALUES
('','$title','$posted_by','$entry',NULL)");
print("$title<br>\n");
print("Posted by $posted_by<br>\n");
print("$entry\n");
}
/brother
> -----Original Message-----
> From: Ilker Cetinkaya [mailto:[EMAIL PROTECTED]]
>
> it seems as if register_globals option is turned off and
> therefore $submit
> is not set.
>
> hth
> ilker
>
>
> "James Meers" <[EMAIL PROTECTED]> wrote in message
> [EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
>
> if (isset($submit)) {
> mysql_query("INSERT INTO $ntable VALUES
> ('','$title','$posted_by','$entry',NULL)");
>
> print("$title<br>\n");
> print("Posted by $posted_by<br>\n");
> print("$entry\n");
> }
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php