Answer the question
In order to leave comments, you need to log in
Why is the SQL query not being sent?
$register = mysqli_query($connect,"INSERT INTO `agreement`(`vk`, `time`) VALUES (".$from_id.",".$time."); INSERT INTO `FOUTuser`(`vk`, `first_name`, `last_name`, `photo_id`) VALUES (".$from_id.",'".$first_name."','".$last_name."','".$photo_id."')");
Answer the question
In order to leave comments, you need to log in
What is the result of the request? What errors does it output?
Most likely, the matter is in the variable $connect
, the connection to the database is not established. It is also worth checking the correctness of the data included directly in the query string.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question