<table width="1200px" class="flat-table flat-table-1">
<tbody>
<tr>
<th style="width:10px">Name</th>
<th style="width:200px">SSS#/LICENSE#</th>
<th style="width:5px">Offenses</th>
<th style="width:150px">Officer</th>
<th style="width:200px">Violation</th>
<th style="width:200px">Price</th>
<th style="width:200px">Last Update</th>
</tr>
</tbody>
<?php
date_default_timezone_set('Asia/Manila');
$conn=mysql_connect("localhost","root","");
mysql_select_db("dbposo",$conn);
$violationz=mysql_query("select *,date_format(time,'%h:%i %p') as timed from tblviolator ORDER BY DDATE DESC");
while($data=mysql_fetch_array($violationz))
{
$license=$data['license'];
$link=str_replace(" ","-",$license);
$fname=$data['fname'];
$mname=$data['mname'];
$lname=$data['lname'];
$offenses=$data['offenses'];
$officer=$data['officer'];
$violation=$data['violation'];
$ddate=$data['ddate'];
$ttime=$data['ttime'];
print "
<tr license='X$license'>
<td width='10px'><center>$lname,$fname,$mname</center></td>
<td width='200px'><center><a href='edit_publicviolation.php?n=$link'><font color='#00FF00'>$license</font></a></center></td>
<td width='90px'><center>$offenses</center></td>
<td width='170px'><center>$officer</center></td>
<td width='230px'><center>$violation</center></td>
<td width='200px'><center>$price</center></td>
<td width='200px'><center>$ddate $ttime</center></td></tr>
";
}
?>
</table>
Get fetch, while { what is my error here? what to edit? please specify im a beginner in coding, i can't help it :( help please ? please thank you in advance
:) please help, your answers are highly appreciated. and sorry for my bad english >.<