include 'include/connect.php'; include 'include/Form.php'; include '../admin/topmenu.php'; ?> if($_GET['actn']=="Delete") { mysql_query("delete from question where q_id='".$_GET['id']."'"); } $sql="select * from question order by sub_id"; if($sql) { $result=mysql_query($sql); print "
Manage Questions | Add new | ||||
---|---|---|---|---|
Question"; print " | Posted Date"; print " | Edit"; while($rs=mysql_fetch_object($result)) { if($formbg=="datarowwhite") $formbg="datarowgrey"; else $formbg="datarowwhite"; print " | ||
".stripslashes($rs->q_text)." | "; print "".format_date_db1($rs->date_time)." | "; print "q_id>Edit"; print " |