> -----Original Message-----
> From: Peter [mailto:[EMAIL PROTECTED]]
> Sent: Saturday, September 22, 2001 12:10 PM
> To: [EMAIL PROTECTED]
> Subject: [PHP] error message
>
>
> I was wondering does anyone know what this particular error
> message means:
>
> Warning: Use of undefined constant submit - assumed 'submit' in
> /usr/local/apache/htdocs/mm2/mymarket/privatedirectory/db/newt
> hread.php on
> line 110
>
> But I already defined submit button as shown in the php script here:
>
> <center><input type=submit name=submit value="Enter your news">
>
> But for some reason when it goes to line 110 as shown just
> below, it says that it is undefined:
>
> if(!submit) {
Try changing this to
if (!$submit) {
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer | at himself, for he shall never cease
LeTourneau University | to be entertained."
Longview, Texas, USA | -- John Powell
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]