luke1438 Posted December 12, 2008 Share Posted December 12, 2008 Let's get everything out in the open; 6 days ago I did not know what .php was. I am a finance person trying to start my own website. I catch on quickly, but sometimes not quick enough. I have attached a Word file with the code I am using to create a subscription form to a newsletter. The site is hosted at Godaddy and unfortunately they provide no help. I have read and searched the internet to answer my questions, thus I have put together the attached code. The problem is I fill out the form on the internet and it does not end up in the database. I have gone back and changed many parts of the code many times but I still get nothing. I would greatly appreciate any help or suggestions; I have obviously missed something important. To see the page in action you can go to the site http://www.globaleconomistreview.com/current_edition.html and click on the link "Sign Up For Notification of Next Edition" Thank you Luke [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
genericnumber1 Posted December 12, 2008 Share Posted December 12, 2008 change any of your queries from mysql_query(...); to mysql_query(...) or die(mysql_error()); it will show an error if you have a problem with your query. In the future, cut out pertinent, small code pieces and put it inside of code tags... Quote Link to comment Share on other sites More sharing options...
Flames Posted December 12, 2008 Share Posted December 12, 2008 dont use word use notepad or even better copy it straight on to phpfreaks for syntax highlighting. Your missing the insert into query http://www.w3schools.com/sql/sql_insert.asp Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.