Unknown column 'nario_id' in 'where clause'
$result = dbquery("SELECT * FROM ".$db_prefix."wip WHERE nario_id='".$userdata[user_id]."' ");
$ret = dbquery("DELETE FROM ".$db_prefix."wip WHERE nario_id='".$userdata['user_id']."' ");