Re: parse error
| From: | Gerald Timothy Quimpo | Date: | Fri, 03 Jan 2003 02:41:26 +0000 |
| Subject: | Re: parse error | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-130028@lists.php.net to get a copy of this message | ||
On Friday 03 January 2003 10:27 am, Ezequiel Sapoznik wrote:
> echo("<p align="center"><img border="0"
> src="images/banner_chico_bio.jpg"
> width="274" height="43"></p>");
you have embedded double quotes inside a string delimited by double quotes.
use single quotes to delimit the string (since nothing inside is a variable).
or escape your internal double quotes with a backspace, e.g.
echo (" internal double \"quotes\" should be escaped");
note: if you have ssh or console access to your server (or to a testing box),
you can always run the command line php interpreter to see what syntax
errors there are. e.g.,
php -l syntaxErrorTest.php
will show you syntax errors in there.
tiger
--
Gerald Timothy Quimpo tiger*quimpo*org gquimpo*sni-inc.com tiger*sni*ph
Public Key: "gpg --keyserver pgp.mit.edu --recv-keys 672F4C78"
Veritas liberabit vos.
Doveryai no proveryai.