Jake GG Posted April 15, 2022 Share Posted April 15, 2022 I'm having trouble understanding what to do for the modifying register review part of chapter 9 using mysql and PHP. It says you should you mysqli_query() to check if the user is entering a repeat email/account reg info but then it says this checks if it is safe to insert the reg info via the form. How are you supposed to enter 2 queries using the mysqli_query() function when that is not possible; I have read. Apparently you have to use multi queries which I cannot wrap my head around. Any help on this subject would be much appreciated, thanks . Link to comment Share on other sites More sharing options...
Larry Posted April 16, 2022 Share Posted April 16, 2022 If I'm following your question correctly, I suspect the intent is you one one query to confirm that the email address isn't already registered. You'd print an error message if it is registered or continue with the registration--run the INSERT--if not. Link to comment Share on other sites More sharing options...
Recommended Posts