Skip to content
Advertisement

Tag: merge

Merging two json in PHP

I have two json’s First one is [{“COLUMN_NAME”:”ORDER_NO”,”COLUMN_TITLE”:”Order Number”} ,{“COLUMN_NAME”:”CUSTOMER_NO”,”COLUMN_TITLE”:”Customer Number”}] Second one is [{“COLUMN_NAME”:”…

Separate merged SQL rows with a comma

I’m having a bit of trouble getting my retrieved values from an SQL query into the correct format. I’ve managed to join multiple rows into the one value, however I am not sure how to make it separate each of the values with a comma. Essentially I need all the ID’s of a product to be retrieved as, for example,

Advertisement