[thelist] SQL INSERT to UPDATE converter?

Rob Smith rob.smith at THERMON.com
Mon Nov 15 09:05:09 CST 2004


Convert this INSERT statement into an UPDATE statement:

INSERT INTO myTable (day1,day2,day3......day30,day31) VALUES ('" .
$_POST["day1"] ."', '" . $_POST["day2"] ."', '" . $_POST["day3"] ."', ......
'" . $_POST["day30"] ."','" . $_POST["day31"] ."')

The ...... represent the respective days 4 throught 29.


More information about the thelist mailing list