0
connect to mysql database
Hi, hope anybody can help me. So the problem is- i need to save inputed email which I input in this file- https://code.sololearn.com/Wa15A13a19a4 into mysql database. So when I enter email it says-Success: A proper connection to MySQL was made. but it didnt save my email in database. So I am not sure if it's really is connecting or just showing the message. my database name-Email_Email, table Emaili, and column-email_list2. so the php file is here- https://code.sololearn.com/w3A244A60a10 can anyone can help to fix the code if it's not correct or suggest something? Mysql and phpmyadmin working without any problems
2 Answers
+ 1
Maybe the correct way to deal with database is given in this article !
https://www.w3schools.com/php/func_mysqli_select_db.asp
Also the following page states that mysql_select_db is removed for version at 7and above
https://www.php.net/manual/en/function.mysql-select-db.php
0
kk