can someone please verify the proper way of inserting data using MYSQLI?
i need to insert comment data into the table with ID set as auto-increment. do i just leave
Yes, leave it blank and MySQL gives it a value.
$query = "INSERT INTO comments (data_column_name) VALUES ('$comment')";