Parašė JaWa· 2010 Spa. 18 14:10:18
#1
Sveiki. Kaip padaryti kad paspaudus mygtuka issitrintu tam tikras id ?
echo "<td>
<form name=deleteWish action=".$PHP_SELF."?nuo=$nuo method=POST>
<input type=hidden name=delete value=".$data['download_id']."/>
<input type=submit name=delete value=Delete>";
if (isset($_POST['delete'])) {
dbquery("delete from ".$db_prefix."downloads where download_id='$id'");
$result = mysql_query($dbquery);
}
echo "</form>
</td>\n";
pvz. cia bandau daryti :p
Redagavo JaWa· 2010 Spa. 18 14:10:54