0
I have hosted my webpage by using 000webhost.com. And now I want to collect my web page form data to a database. Please help me.
9 ответов
+ 2
Thank you for your reply brother. But I don't want to send form data to itself. I want to collect data to a database. Please help me.
+ 2
Thank you very much brother.
+ 1
then use php to insert the data is that the problem?
+ 1
Yes I want to connect my server and database to html form using php. But I don't know how to do it. Please send me codes...
+ 1
ok
+ 1
$connection = new mysqli([name of the server], [sql username], [sql password], [database you want to accses to]);
$sql = "[put your query here]";
$result = $connection->query($sql);
if you want an array of what you got do $result->fetch_assoc()
is this the answer you were looking for? if so just read this whole series of tutorials https://www.w3schools.com/php/php_mysql_intro.asp
0
whats the problem? just create a form with the action set to "" and the form will send itself to the page
0
thats easy wait s minute
0
also look up stuff before you ask