Reply to PHP to echo a line in html source...

Your name:

Reply:


Posted by Domestos on 08/23/05 23:24

Here an unusual one...

Say i am writing a few lines of code in php script as so...

<?php
echo '<table>';
echo '<tr>';
echo '<td> blah blah </td>';
echo '</tr>';
echo '</table>';
?>

On my html source the code looks like this...

<table><tr><td>blah blah</td></tr></table>

Is there anyway I can get each html tag on a seperate line in the html
source so it is nice and neat (easy readable)?

Thanks
Domestos

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация