smartalco Posted June 11, 2007 Share Posted June 11, 2007 Im trying to submit information (name, address, etc.) from a form into a mysql tableI have tried about 8 different syntax variations for the 'mysql_query(" ... VALUE (<value1>,<value2>)");' part and nothing seems to work for me, how exactly is it that I submit $_POST['variable'] to the mysql column 'variable' in the table? (note: none of my variables actually have the name 'variable')p.s. - using PHP 4.4 and MySQL 3.23, yes, i know its old, i have no choiceEdit: here is my code -> /*--this was code--*/ what is odd is that the second INSERT INTO works perfectly, all 3 fields are put into the mysql table with no problem, yet the first INSERT query doesn't do anything, I have checked the syntax between the two and they were the same and it still did nothing (in the code above they aren't the same, what's there is one of many of my attempted formats)nevermind, it turns out you can't have a '/' in the name of a table column, that was the extent of my problem :/ Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.