sql.php edits.