bdyaniv Posted March 28, 2006 Posted March 28, 2006 Hi, I would like to know what's the right Mysql query for adding text to an existing field. for example The field's name is "Info" and contain the text "hello" I would like to add the text "Bye Bye" in another line so It'll be like this: Hello Bye Bye Thanks a lot Whatever you do Be Goooood
Guest Posted March 29, 2006 Posted March 29, 2006 its tep_db_query("insert into " . TABLE_DEFINED_FOR_THIS_PURPOSE . " (the_text_field)VALUES ('hello world')"); tep_db_query("insert into " . TABLE_DEFINED_FOR_THIS_PURPOSE . " (the_text_field)VALUES ('bye bye world')"); assuming the table has an autoincrement column.
bdyaniv Posted March 29, 2006 Author Posted March 29, 2006 its tep_db_query("insert into " . TABLE_DEFINED_FOR_THIS_PURPOSE . " (the_text_field)VALUES ('hello world')"); tep_db_query("insert into " . TABLE_DEFINED_FOR_THIS_PURPOSE . " (the_text_field)VALUES ('bye bye world')"); assuming the table has an autoincrement column. Thanks I actually need to use the PHP_MY_ADMIN and just run the query there. Do you know how to do it ? Whatever you do Be Goooood
Recommended Posts
Archived
This topic is now archived and is closed to further replies.