Page 1 of 1

variables update sql

Posted: Sat Jan 15, 2005 2:52 pm
by SidewinderX
i am doing a file get contents and then doing a bunch of other stuff and then finally storing a bunch of information as variables.... how would i upload these variables into a sql data base?

Posted: Sat Jan 15, 2005 3:12 pm
by feyd

Code: Select all

INSERT. INTO `table_name` `field_name1`='$value1', `field_name2` = '$value2'
remove the period after "insert"