ok.by this moment how can I align all screening time in a single row?
PHP Code:
<table width="100%" height="47" border="0">
<tr>
<td height="21" colspan="6"><font face="Arial">------------------------------------------------------------------------------------------------------------------------------ <br>
<?
if (isset($_SESSION['gmemberid'])) {
$tbl_name = "movie";
$result = mysql_query(sprintf('SELECT name,category,screeningTime FROM %s
LIMIT 1', $tbl_name)) or die('Cannot execute query.');
//$numrow = mysql_num_rows($result);
while ($rows = mysql_fetch_assoc($result)) {
echo '<strong>' . $rows['name'] . ' (' . $rows['category'] . ')
<br></strong></font>';
foreach (explode(',', $rows['screeningTime']) as $time) { ?>
<label>
<td><input type="radio" value="<?php echo $time; ?>">
<?php echo $time; ?></td>
</label>
</td></tr>
<?php } ?>
<?
}
}
?>
Bookmarks