0
How can I acomplish sending form data to a database?
So I was just using SQL within a XAMP server and using myphp to edit the DB. Now I know that you can handle form data using php but I have 2 main problems. Problem 1: when I attempt to code in PHP the code doesn't work and shows as plain text on my login page. 2: I don't know how to connect PHP to my SQL db with the server I have. In the end I want a simple registration form with first name, last name, and email. Then the data should be sent to my db. Any help you can give will be much appreciated!
2 Réponses
+ 2
Check here how to make connection, create database and send data.
https://www.google.com/amp/s/www.cloudways.com/blog/connect-mysql-with-php/amp/
+ 1
Thanks so much!