Need help with php+sql | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Need help with php+sql

Anybody knows any documents or tutorials to learn all codes of connecting php to mysql and its errors and syntaxs? I checked php.net but its so confusing I am new to mysql_connect() and all of that stuff. please point to detailed tutorial or documentation.

25th May 2018, 11:40 PM
Hussain Mohammed
Hussain Mohammed - avatar
2 Answers
+ 1
I'd recommend using mysqli_connect and mysqli in general as it's improved. The older methods are more prone to attack by malicious users.
26th May 2018, 1:46 AM
Xpl0it
Xpl0it - avatar