I have made this switch and I try to use it with this href-link I only want to delete one row but it doestn work!!!
Please Help!!
/////////////////////////////////////////////////////
<a href=uusi.php?a=delete&ID_number='$a_row[0]'> <i>Delete . '$a_row[0]'</i></a>
///////////////////////////////////////////////////////
switch($a)
{
CASE "delete":
mysql_query("DELETE FROM uutiset2 WHERE ID_luku = '$b_row[0]'"
printf ("Records deleted: %d\n", mysql_affected_rows());
BREAK;
}
/////////////////////////////////////////////////////
Please Help!!
/////////////////////////////////////////////////////
<a href=uusi.php?a=delete&ID_number='$a_row[0]'> <i>Delete . '$a_row[0]'</i></a>
///////////////////////////////////////////////////////
switch($a)
{
CASE "delete":
mysql_query("DELETE FROM uutiset2 WHERE ID_luku = '$b_row[0]'"
printf ("Records deleted: %d\n", mysql_affected_rows());
BREAK;
}
/////////////////////////////////////////////////////