Re: Parse error: syntax error, unexpected '>'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 2009-09-23 at 07:18 -0700, Haig Davis wrote:
> echo " <li>".$row['melID']."<input type="checkbox"
> name="\".$row['melID].\""/input> ";

You're escaping in the wrong places. The \ escapes the character
following it, so what you are doing here, in line 2, is breaking out of
the string with a regular " and then printing a " (escaped \") Also, I
think you need to brush up on your HTML a bit, as 

<input type="checkbox" name="name"/input>

is not valid HTML.


Thanks,
Ash
http://www.ashleysheridan.co.uk




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux