Hi Diksha,
> Parse error: parse error, expecting `','' or `';'' in
> /var/www/html/bdoi_change/f1.php on line 11
>
> the code is:
>
> <?php
> echo"<form>
> Please enter other login id:<input type="text" name=login>
> </form>";
You need to escape the quotes inside the string, or use single quotes to
define it. Either this:
echo "<form>Please enter other login id:<input type=\"text\"
name=\"login\"></form>";
^^ ^^ ^^
^^
note escaped quotes
here
Or this:
echo '<form>Please enter other login id:<input type="text"
name="login"></form>';
^^^
^^^
note single quotes here...
...and here
Here's a great article that should clear all this up for you:
http://www.zend.com/zend/tut/using-strings.php
Cheers
Jon
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php