Re: registration

From: Date: Wed, 05 Mar 2003 11:44:17 +0000
Subject: Re: registration
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138253@lists.php.net to get a copy of this message
Diksha Neel wrote:
<?PHP $connection=mysql_connect("localhost","root","")or die("Could not connect"); print "Connected successfully"; mysql_select_db("bdoi_change")or die("could not select database"); echo " $login " <pre>
The line above you give you an error ...
echo" <form>
Login ID           <font color=\"red\">* </font><input name=\"login\" value=\"$login\" >
</form>"; ?>
There's a syntx error in your code as pointed out. The <pre> is inside the <?PHP ?> tags but not quoted ... maybe you made a cut-and-paste error? Jc

« previous php.general (#138253) next »