Hello!
I can't delete rows, nothing disapears(and no error msg) ;-(
Klas
Part of the code:
<input name="nummer" size="5"><br>
change your query to look like this
$query = "DELETE FROM discografi WHERE nummer = '$id'";
<input name="nummer" size="5">
$query = "DELETE FROM discografi WHERE '$nummer' = '$id'"; mysql_query("DELETE FROM discografi WHERE nummer = '$nummer'") or die(mysql_error());
Hi!
it won't work ;-(
Klas wrote:
That is a valid SQL statement, you must have problems somewhere else. Have you echoed back $id to make sure it is set ?
Works now ;-)
Error was in another place.
Thanks.