i have a coding that shows users mood image on the online list but want to have a option to delete it and dont have any have coded this below but the image not moving....
////////Genproc.php//////
//////////////////////////remove online mood image//////////////////////////
else if($action=="delonmood") {
addonline(getuid_sid($sid),"Removing Online Mood",""); echo "<card id="main" title="Online Mood Removed">"; echo " "; echo " ";
$res = mysql_query("DELETE FROM ibwf_avatars3 WHERE id='".$item[2]."'");
if($res) { echo "<img src="../images/ok.gif" alt=""/>Online Mood Removed Successfully "; echo "<a href="index.php?action=online&sid=$sid">Back to Online List</a>
"; }else{ echo "<img src="../images/notok.gif" alt=""/>Error! "; }
echo "<a href="index.php?action=main&sid=$sid"><img src="images/home.gif" alt="*"/>"; echo "Home</a>"; echo " </card>"; }
//////////Index.php?action=online//////
echo "<a href="index.php?action=delonmood&sid=$sid">Remove Online List Mood</a> ";