I have this code:
$sql = "select isAproved,gflash from guestbook where isAproved like 'NO'";
$r = mysql_query($sql);
// loop condition
if(!mysql_num_rows($r))
break; // empty table
// loop all not aproved post
while($z = mysql_fetch_row($r))
{
foreach ($z as $val)
echo $val;
// table with column of 2 radio btns with value of NO and YES, than column with gflash records here
}
I don“t know how to generate table with 2 radio btns one with value YES and second is the record of column 'isAproved'. Than I need next column with record of column 'gflash'.
Than can user choose wich row will be aproved over the radio btn with value of YES and the data will be sent back to the dtb.
Thank you