Thread: php in image?
View Single Post
  #5 (permalink)  
Old 03-22-04, 03:11 PM
NeverMind's Avatar
NeverMind NeverMind is offline
Community VIP
 
Join Date: Aug 2003
Location: K.S.A
Posts: 2,257
Thanks: 0
Thanked 2 Times in 1 Post
Quote:
would it be better to echo the table this way or is there a better way ?

echo "<table width='100%' background='image.jpg'><tr><td><p>Text or results from php</p></td></tr></table>";
this is good but using single quote is faster ..
you can simply use multilines without any problems since php ignores spaces..
PHP Code:

echo '<table width="100%" background="image.jpg">

  <tr>
    <td><p>Text or results from php</p>
    </td>
  </tr>
</table>'

__________________
PHPSimplicity
We don't need a reason to help people - Zidane [FF9]
Reply With Quote