skip to Main Content

Replace string in column value MYSQL

Hi i have a table named data_table with columns ID | DATA Id is integer and Data stored like this: a:19:{s:10:"store_name";s:9:"STORENAME";s:6:"social";a:7:{s:2:"fb";s:0:"";s:7:"twitter";s:0:"";s:9:"pinterest";s:0:"";s:8:"linkedin";s:0:"";s:7:"youtube";s:0:"";s:9:"instagram";s:0:"";s:6:"flickr";s:0:"";}s:7:"payment";a:2:{s:6:"paypal";a:1:{i:0;s:5:"email";}s:4:"bank";a:0:{}}s:5:"phone";s:0:"";s:10:"show_email";s:2:"no";s:7:"address";a:6:{s:8:"street_1";s:0:"";s:8:"street_2";s:0:"";s:4:"city";s:0:"";s:3:"zip";s:0:"";s:7:"country";s:0:"";s:5:"state";s:0:"";}s:8:"location";s:0:"";s:6:"banner";i:0;s:4:"icon";i:0;s:8:"gravatar";i:0;s:14:"show_more_ptab";s:3:"yes";s:9:"store_ppp";i:12;s:10:"enable_tnc";s:3:"off";s:9:"store_tnc";s:0:"";s:23:"show_min_order_discount";s:2:"no";s:9:"store_seo";a:0:{}s:24:"dokan_store_time_enabled";s:2:"no";s:23:"dokan_store_open_notice";s:0:"";s:24:"dokan_store_close_notice";s:0:"";} Also i have another table named user_stores ID | STORE Id is integer and store is string format. I…

VIEW QUESTION

Dependent 2 queries on "same" column in Mysql

I have a table like below report_code | result_of_report _______________________________ Rpx-34512-00| rejected Rpx-34512-01| rejected Rpx-34512-02| rejected Rpt-22433-00| rejected Rpt-22433-01| rejected Rpt-22433-02| rejected Rpt-22433-03| rejected Rpt-22433-04| rejected Rpt-22433-05| rejected Rpt-22433-06| accepted Rcs-34555-00| rejected Rcs-34555-01| rejected Rcs-34555-02| accepted And this is what…

VIEW QUESTION
Back To Top
Search