I created a javascript registration form and when the user submits the form, a 'sendemail.php' file will send the data in the form to my gmail email account. The code from 'sendemail.php' is shown below:
$mail->IsSMTP(); // Fixed.
$mail->Host =...
Thank you descalzo !!
I managed to make it work. It wouldn't let me import my table so i tried to manually run sql query to build the table. It worked. Thank you for the help.:wink:
Ok. I created a database 'lifelink_hccwebform' , user 'lifelink_louis' , set all privileges and a user password [password]. i tried to upload the table 'memberships' instead of the db but it showed me #1046 - No database selected .
I did changed this part:
$con = new mysqli('localhost'...
I managed to upload my .php files. Then i exported my mysql database from my local phpmyadmin but i wasn't able to import my mysql database using x10hosting's phpmyadmin. It showed me this :