Help - Search - Member List - Calendar
Full Version: A Nice easy question - that i don't have the answer to...
WorkTheWeb Forums > Webmaster Resources > PHP Help
Support our Sponsors!
Domestos
Hi all,

When writing HTML code in an echo how do I throw a line feed and carriage
return...

i.e.

echo '</TD>*</TR>';


where I want the '*' character to be a line feed... i've tried 'b' and
that don't work...

TIA...
Andy Mak

Janwillem Borleffs
Domestos wrote:
QUOTE
When writing HTML code in an echo how do I throw a line feed and
carriage return...


Try double quotes as in:

echo "</TD>rn</TR>";

When the string is enclosed between single quotes, all characters are
regarded as literals.


JW

Stefan Rybacki
Download the manual or bookmark it.

http://de3.php.net/manual/en/language.type...g.syntax.double

has the answer you want.

Regards
Stefan


PHP Help | Linux Help | Web Hosting | Reseller Hosting | SSL Hosting
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2006 Invision Power Services, Inc.