Re: neat html output

From: Date: Wed, 31 Jan 2001 22:38:23 +0000
Subject: Re: neat html output
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-37552@lists.php.net to get a copy of this message
You can also use tabs (\t). This is an example using tabs and newlines: echo "<table>\n<tr>\n\t<td>Hello There</td>\n\t<td>How are you</td>\n</tr></table>"; Note: You must use quotes because ticks don't work. Jeff ""Mark"" <mfaine@bellsouth.net> wrote in message news:9597gb$4el$1@toye.p.sourceforge.net... > I'd like my html output to be neatly written, including newlines is helpful > but does anyone know of a better way to output newlines than appending > ."\n"; to every echo statement. > > -Mark > > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#37552) next »