craygo Posted August 28, 2006 Share Posted August 28, 2006 You forgot the comma after the team insert in your query[code]Team = '".$_POST['Team']."'[/code]put the comma at the endAlso you way want to clean up your form. Internet explorer may end you form tags for you but other browsers may not. Close out all you option tags and any othersexample:[code]<option value="Cltn">Charlton Athletic[/code]should be[code]<option value="Cltn">Charlton Athletic</option>[/code]Ray Quote Link to comment https://forums.phpfreaks.com/topic/18841-solved-inserting-forms-information-into-mysql-tables/page/2/#findComment-81698 Share on other sites More sharing options...
superhoops Posted August 28, 2006 Author Share Posted August 28, 2006 It completely works now. I can't Thank You enough ray you have been a huge help as has Crayon.Now i have the possibly tougher task of extracting the information from the database to a html table but i have read a tutorial so it shouldn't be too bad. Quote Link to comment https://forums.phpfreaks.com/topic/18841-solved-inserting-forms-information-into-mysql-tables/page/2/#findComment-81699 Share on other sites More sharing options...
craygo Posted August 28, 2006 Share Posted August 28, 2006 No problem. Start a new tread for that when the time comes. That way they can mark this thread as solved.Ray Quote Link to comment https://forums.phpfreaks.com/topic/18841-solved-inserting-forms-information-into-mysql-tables/page/2/#findComment-81700 Share on other sites More sharing options...
superhoops Posted August 28, 2006 Author Share Posted August 28, 2006 No problem. I would hope to think ill be able to do it without help but i doubt i will be able to do it on my own. Ill give it a good go though. Quote Link to comment https://forums.phpfreaks.com/topic/18841-solved-inserting-forms-information-into-mysql-tables/page/2/#findComment-81702 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.