formtext
| From: | DIKSHA NEEL | Date: | Mon, 03 Mar 2003 11:41:48 +0000 |
| Subject: | formtext | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-137874@lists.php.net to get a copy of this message | ||
HI EVERYBODY,
i was trying to put a text field in a form in my php script
but it's giving me the following error:
Parse error: parse error in /var/www/html/bdoi_change/f1.php on line 10
the code is as follows:
<html>
<head>
<title>
</title>
</head>
</body>
<h1>Business Directory Of India</h1>
<pre>
<?php
<form>
Please enter other login id:<input type="text" name=login>
</form>
echo "<pre>";
echo "Name $yname \n"; echo "Company name $cname \n"; echo "Category $cat \n";echo "Primary business $pbus \n";
echo "Business email $bemail \n";echo "Business address $badd1 \n";
echo "Business area $area \n"; echo "Business city $city \n";echo "</pre>"; ?> </body> </html> regards, diksha.