Hi Bro, I am following the steps & I am able to successfully insert the form data into the database when working in xampp & localhost environment. However, when I try to run the code in a live environment in cpanel with an online website, the data is not being inserted into the database table. What could possibly be the hindrance? My connection to the database is working properly by the way. Thank you for your help.
Parse error: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in D:\XAMPP\htdocs\Projects\Learn\fakebook\index.php on line 42 I always get this error when i type the try catch block. try{ mysqli_query($conn, $sql); echo "You are now registered"; } catch(mysqli_sql_exception) { echo "that username is taken"; } @Bro Code help! and even before i wrote the try catch block. when i type a username that already exists I did not get an error. the browser tab just refreshed itself
try to write every line of code yourself as you see in the video instead of copy/paste the code from his comment, you might have error in the alignment of the text, catch for ex should be written under try, and align with it. maybe it helps. but the best thing is to write every character in the code yourself, it builds up your memory response to writing the code. Hope it helps. :)
Document
Thank you...Bro Code!
Damn he really updated his PHP playlist. Thanks man
I wanted to watch just one video about What is PHP. Now I'm here. Thanks for the very concise way of teaching.
This was the best lesson i have ever had you explain everything really well! Thank you so much!
and so on I've learned the basic of php thanks man
completed in 1 day. So good
Really love your videos bro
thank you for the playlist.
thank you Bro!!
I have benefited a lot...
Thank you so much bro.
We need course for js or c or c++
and thanks bro ❤️❤️❤️
He has a playlist for each of those languages
Thanks Bro
thanks alot bro
Thanks brocode. Is there any OOP video series in PHP in this channel ?
Thanks a lot, can we have advance PHP also in which you teach us from here to build an advance dynamic website.
Thank you Bro
is this a completed course or on going
wazzup bro! Thanks a lot! :)
hi, do you have s log in form?? cause your tuts is still lacking of episode
thank a lot man!
Whenever I try to sign up and click the register button it won't create an account in the table?
Hi Bro, I am following the steps & I am able to successfully insert the form data into the database when working in xampp & localhost environment. However, when I try to run the code in a live environment in cpanel with an online website, the data is not being inserted into the database table. What could possibly be the hindrance? My connection to the database is working properly by the way. Thank you for your help.
Does he completed this course or still pending?? Please reply me anyone
It's done
Next part
"Random comment"🙂
Can't wait OOP course🫶
Parse error: syntax error, unexpected ')', expecting '|' or variable (T_VARIABLE) in D:\XAMPP\htdocs\Projects\Learn\fakebook\index.php on line 42
I always get this error when i type the try catch block.
try{
mysqli_query($conn, $sql);
echo "You are now registered";
}
catch(mysqli_sql_exception) {
echo "that username is taken";
}
@Bro Code help! and even before i wrote the try catch block. when i type a username that already exists I did not get an error. the browser tab just refreshed itself
try to write every line of code yourself as you see in the video instead of copy/paste the code from his comment, you might have error in the alignment of the text, catch for ex should be written under try, and align with it. maybe it helps. but the best thing is to write every character in the code yourself, it builds up your memory response to writing the code. Hope it helps. :)