Sunday, September 8, 2013

php prinf doesn't work with

php prinf doesn't work with

I have php prinf and doesn't work with <li type="1">. It works only with
chrome browser, what can i do to make it work with all browsers?
My php code is very long and ill provide shorter version:
sample code is like this:
<ul>
<table>
$result = mysql_query("........",$db);
if(mysql_num_rows($result) > 0)
{
$myrow = mysql_fetch_array($result);
do
{
printf ("
<tr><td><li type="1">%s</li></td></tr>",$myrow["var"]);
}
while ($myrow = mysql_fetch_array($result));
}
else
{
echo "<p align='center'>error...</p>";
}
</table></ul>

No comments:

Post a Comment