RE: [PHP] unexpected T_STRING error

From: Date: Sat, 28 Sep 2002 15:26:26 +0000
Subject: RE: [PHP] unexpected T_STRING error
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-117951@lists.php.net to get a copy of this message
That line is syntactically invalid. Did you meant it to say echo "<META NAME=$keywords CONTENT= $keywords >"; -- JR > -----Original Message----- > From: Gary [mailto:garyb10@earthlink.net] > Sent: Saturday, September 28, 2002 11:15 AM > To: php-general@lists.php.net > Subject: [PHP] unexpected T_STRING error > > > Hi All, > Can someone explain to me why I am getting an error for the following? > > $keywords = $_POST[keywords]; > if ($keywords) { > echo"<META NAME="keywords" CONTENT=" $keywords > ">"; > } > > TIA > Gary > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#117951) next »