Philip Olson ... > You know what's annoying? This (yes, it happens) : > > echo ("<table bgcolor=\"#ffffff\">"); > echo ("<tr>"); > echo ("<td bgcolor=\"#eeeeee\" width=\"300\">"); > print("Name :"); > $name = 'johnny'; > printf("%s %s %s","<b>","$name","</b>"); > echo ("</td>"); > echo ("<td bgcolor=\"#eeeeee\" width=\"300\">"); > print("Title :"); > $title = 'smith'; > printf("%s %s %s","<b>","$title","</b>"); > echo("</td>"); > echo("</tr>"); > echo("</table>"); I'd suggest: echo "<table bgcolor='#ffffff'> <tr> <td bgcolor='eeeeee' width='300'> Name : "; $name = 'johnny'; echo "<B>$name</B> </td> <td bgcolor='#eeeeee' width='300'> Title : "; $title = 'smith'; echo"<B>$title</B> </td> </tr> </table>"); This way, the code IS readable, for small-medium size echoing. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
- Re: [PHP] looking for a PHP editor Alexander Wagner
- Re: [PHP] looking for a PHP editor Toby Butzon
- Re: [PHP] looking for a PHP editor Alexander Wagner
- Re: [PHP] looking for a PHP editor Brian Clark
- RE: [PHP] mixing HTML and PHP code MR
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code burk
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alexander Wagner
- Re: [PHP] mixing HTML and PHP code Philip Olson
- Re: [PHP] mixing HTML and PHP code MR
- Re: [PHP] mixing HTML and PHP code Hrishi
- Re: [PHP] mixing HTML and PHP code Alex Black
- RE: [PHP] mixing HTML and PHP code Antonio S. Martins Jr.
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Jade Ohlhauser
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Alexander Wagner
- Re: [PHP] mixing HTML and PHP code Alex Black
- Re: [PHP] mixing HTML and PHP code Tim Zickus