Posted by Brendan Gillatt on 10/30/07 18:23
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
paul814@excite.com wrote:
> print "<div class=\"message\">";
> print " <h2>" . $row->eddate . "</h2>";
> print " <h4>" . $row->edname . "</h4>";
> print " <p>" . $row->edcomments "</p>";
> print "</div>";
>
> But I get an error: Parse error: syntax error, unexpected
> T_CONSTANT_ENCAPSED_STRING in C:\xampp\htdocs\dailyreport\view-
> editorial.php on line 43
>
You missed a period after $row->edcomments
I suggest you output each record in a table for best readability.
- --
Brendan Gillatt
brendan {at} brendangillatt {dot} co {dot} uk
http://www.brendangillatt.co.uk
PGP Key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xBACD7433
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
iD8DBQFHJ3a8kA9dCbrNdDMRAtGKAKCxYKPHwpK8Z3bXkM/R7jqZPqi8AwCglNKD
z23TU2Nlsq13/v7tFjVhXlw=
=3V9R
-----END PGP SIGNATURE-----
Navigation:
[Reply to this message]
|