jatar_k - 6:49 pm on Nov 7, 2011 (gmt 0)
sorry I did mean to mention the 'PO' originally
you say it works fine from phpmyadmin, if you are using the same user in your script then it shouldn't be a permissions issue.
did you try the line rocknbil posted here
or die("Cannot delete record with id $id ID " . mysql_error());
that should spit out a more detailed error and if you don't have permission it will tell you that in the error