Hi a script i put together was working until a moved hosts, all it does is add to a MySQL database depending what was entered into the HTML form.
code for add.php (adds to the database)
code for add.html (add.php enters details from add.html)
php code i used to create the table 'article' with:
The problem is that nothing gets added to the and after the page reloads it just stays on add.html instead telling me if 'Dates have been inserted' or if a MYSQL error has occured (which worked fine on my previous host).
Any ideas?
code for add.php (adds to the database)
code for add.html (add.php enters details from add.html)
php code i used to create the table 'article' with:
The problem is that nothing gets added to the and after the page reloads it just stays on add.html instead telling me if 'Dates have been inserted' or if a MYSQL error has occured (which worked fine on my previous host).
Any ideas?