".mysql_error(); /*if($Image[1]!="") { $sql="update articles set image='".$Image[1]."' where article_id=".$_REQUEST['NewsID']; mysql_query($sql); } for($i=2;$i<=6;$i++) { if($Image[$i]!="") { $col="image".$i; $sql="update articles set $col='".$Image[$i]."' where article_id=".$_REQUEST['NewsID']; mysql_query($sql); } }*/ //header("Location: manage_post.php"); $msg= "Your joke updated successfully"; $url="manage_jokes.php"; dispMessage($msg,$url); } else { $sql="select * from jokes where article_id=".$_REQUEST['NewsID']; $rsNews=mysql_query($sql); $rowNews=mysql_fetch_array($rsNews); } ?>