Adere1944 Adere1944 - 27 days ago 5
PHP Question

ERROR : ADDING DATA TO PHP

What is wrong in my code. It is not showing any error but also not inserting data into mysql database.

SignUpPage.html

http://pastebin.com/n1tSyD2s

addtodatabase.php

http://pastebin.com/K6cYQTRB

Please help...

Answer

Even if there is no error, when playing around with mysql or mysqli, there may actually be an error. try, whenever executing a query to use mysqli_error(), example:

mysqli_query($link, $query) or die(mysqli_error($link));

this should help you help yourself.