Jump to content

Update/Insert?


Gayner

Recommended Posts

UPDATE is to update an already existing row(s) in a database table

INSERT is to create a new row(s) in a database table

 

Should be easy to figure out what you need based on what the two different functions actually do.

 

Oh ok sweet. i'll use update then, i aint making new tables lol thanks

 

mysql_query("UPDATE ibf_members SET n = '{$Profile['n']}' WHERE id = '{$ibforums->member["id"]}'"); 

 

I want to edit more and update more then jsut the variable "N" possible?

Link to comment
https://forums.phpfreaks.com/topic/172639-updateinsert/#findComment-909998
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.