variables update sql

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
SidewinderX
Forum Contributor
Posts: 407
Joined: Fri Jul 16, 2004 9:04 pm
Location: NY

variables update sql

Post 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?
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Code: Select all

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