Hi again!

Thanks for the reply!

I still have another question:

I want to create a recycleable code by printing a set of html code which I
copied and paste from my html edittor.

however because there are lots of quotation marks on the html code it result
an error page.

here is part of the html code:
<table border="0" cellpadding="0" cellspacing="0" width="639">
  <tr>
    <td><img src="img_heading/spacer.gif" width="25" height="1"
border="0"></td>
  </tr>
  <tr>
    <td colspan="11"><img name="index_r1_c1"
src="img_heading/index_r1_c1.gif" width="639" height="5" border="0"></td>
    <td><img src="img_heading/spacer.gif" width="1" height="5"
border="0"></td>
  </tr>
  <tr>
    <td rowspan="5"><img name="index_r2_c1"
src="img_heading/index_r2_c1.gif" width="25" height="43" border="0"></td>
</table> ...etc

so I tired to use (echo) like this:

echo "<table border="0" cellpadding="0" cellspacing="0" width="639">
  <tr>
    <td><img src="img_heading/spacer.gif" width="25" height="1"
border="0"></td>
  </tr>
  <tr>
    <td colspan="11"><img name="index_r1_c1"
src="img_heading/index_r1_c1.gif" width="639" height="5" border="0"></td>
    <td><img src="img_heading/spacer.gif" width="1" height="5"
border="0"></td>
  </tr>
  <tr>
    <td rowspan="5"><img name="index_r2_c1"
src="img_heading/index_r2_c1.gif" width="25" height="43" border="0"></td>
</table>";
but it DOES NOT WORK.
How do I get way with all of the quotation marks????

thank for all the help.

Dani




Reply via email to