PDA

View Full Version : Puting HTML in SAX Parsing



Taylor89
29 Mar 2011, 11:10 AM
Hi,

Im relativly new to this forum milarkie, just came accorss a small issuse when doing some work for uni.

I have parsed some XML using SAX and am now trying to place the data into a simple table to improve the asthetics of the output.

Here is the code in question

echo <table> <tr><td> name:</td> <td> $name[$count]</td></tr>. " ". name:</td> <td>$city[$count]</td></tr>. " ". name:</td> <td>$country[$count]</td></tr>. " ". name:</td> <td>$latitude[$count]</td></tr>. " ". name:</td> <td>$longitude[$count]</td></tr>. " ". name:</td> <td>$comments[$count]</td></tr>. </table> or die (mysql_error());

any suggestions to impove the output of the code would be greatly appreciated.

thanks

Dan