good day where is my error here this delete 2 or 3 filed i dont know why ? Func datadel($ip) Local $retarr _SQLite_QuerySingleRow($dbn,"SELECT id FROM Network1 WHERE IP='"&$ip&"'",$retarr) If $retarr[0] <> "" Then _SQLite_Exec($dbn,"DELETE FROM Network1 WHERE id='"&$ip&"'") EndIf EndFunc i think this mean to select the id where the ip found right ! _SQLite_QuerySingleRow($dbn,"SELECT id FROM Network1 WHERE IP='"&$ip&"'",$retarr) and this delete