Jump to content

[SOLVED] MYSQL Help


nathanmaxsonadil

Recommended Posts

How do you mean?

 

If you want to insert a new row and add data to a couple of the columns you can use INSERT along with listing the columns you want to add data to, eg:

INSERT INTO tbl_name (`col1`, `col2`) VALUES ('col1_value', 'col2_value');

 

or if you want to add/update data to a column within an existing row you'd use UPDATE, eg:

UPDATE tbl_name SET `col_name` = 'some_value' WHERE column_id = 'some_column_id_value'

Link to comment
https://forums.phpfreaks.com/topic/62310-solved-mysql-help/#findComment-310095
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.