when you run a DELETE
command, I believe nothing is returned, thus you can’t mysql_fetch_array(). You would normally use that if you’re doing a SELECT
. in this case, you’re deleting something, so just remove that loop, and echo().
solved php mysql_fetch_array() error [duplicate]