Error querying database.
- by user296516
Hi,
Once I have successfully connected to the database, i have a line that must insert values.
mysqli_query($edb, "INSERT INTO elvis_table (name,email) VALUES ('$name','$email')" ) or die('Error querying database.');
It works fine on my computer ( xampp ), but once I upload it onto a server, it starts giving an error.
Yes, I have a database with a corresponding table and fields on a server, it connects to the database fine, but gives an error on this line...
Thanks!