RE: HTML Tables in PHP...

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

 



> How can I give a <table> </table> with all of it's parameters in PHP in
> each
> of the cells there is a variable that gives me the data back but I can't
> get
> the table to show as it always gives me either this error "Parse error:
> parse error, unexpected T_LNUMBER, expecting ',' or ';' in
> C:\FoxServ\www\Dad\proofing\index.php on line 41" or this one when I don't
> put in the quotes "Parse error: parse error, unexpected '<', expecting ','
> or ';' in C:\FoxServ\www\Dad\proofing\index.php on line 41".

Hi Daryl,

Put double-quotes around the entire string, and use single-quotes around the
table property values etc. Something similar to:

echo "<table width='694' height='501' border='0' align='center'
cellpadding='0' cellspacing='0'>

	<tr>
		<td width='100'>Some stuff</td>
	</tr>
</table>";

Also, in the code you've posted you don't have a closing double-quote and
semi-colon at the end of:

> $nachricht="The licence doesn't exist please contact us!

This probably should be:

$nachricht="The licence doesn't exist please contact us!";

Much warmth,

Murray
---
"Lost in thought..."
http://www.planetthoughtful.org

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux