0

HELLO!! can you help me for creat sign up and Data Base plz?

Nabil

12th Dec 2018, 3:33 PM
Nabrecx Gaming
Nabrecx Gaming - avatar
4 odpowiedzi
+ 2
Hi Nabrecx Gaming, To post your clients inserted values/data to your database you need to, Create a HTML form with action and method elements so the form knows how to process the inserted data/value. The action element will take action on the inserted valued as soon the button is submitted and process it to your given path. The method element will tells the form to GET or POST the inserted data/values to the given action path. After you posted the inserted data to your given action path, the the PHP comes in action :P. Connect to your DB, and insert the data in your DB.😊 Have a look ate the snippet below, hope it helps.👍
13th Dec 2018, 2:36 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 2
<form action="send.php" method="POST"> Username: <input type="text" name="uname" required /> password: <input type="password" name="pass" required /> email: <input type="email" name="email" required /> <input type="submit" name="submit" /> send.php <?php //Connect to db. Change mysqli_connect with your credentials. $connect = mysqli_connect("host","user","passwrod","db"); //Send form data to db. change your table name to yours. mysqli_query($connect,"INSERT INTO your table name VALUES ('$_POST[uname]', '$_POST[pass]', '$_POST[email]'; ?>
13th Dec 2018, 2:36 AM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
+ 2
Nabrecx Gaming, de rien👍😊
13th Dec 2018, 3:11 PM
🌴Vincent Berger🌴
🌴Vincent Berger🌴 - avatar
0
Tanks you my freinds merci beaucoup j vous merci beaucoup monsieur je parle tros anglais mais jai fait google traduction 😊😋 bon courage a vous NABIL
13th Dec 2018, 12:03 PM
Nabrecx Gaming
Nabrecx Gaming - avatar