Posted by Andy Hassall on 11/11/25 11:19
On 23 Jun 2005 13:53:24 -0700, "Ken Robinson" <kenrbnsn@rbnsn.com> wrote:
>You can also delimit your strings with single quotes if you don't want
>to escape the double quotes:
>
>echo $error . $x . 'INVALID DOMAINS<DIV align="center">' . $display .
>'</div>';
Or use single quotes in the HTML as this is specifically allowed according to
the specs - basically use the opposite sort of quotes inside as on the outside,
to avoid having to slash it.
--
Andy Hassall / <andy@andyh.co.uk> / <http://www.andyh.co.uk>
<http://www.andyhsoftware.co.uk/space> Space: disk usage analysis tool
[Back to original message]
|