append string to each row in a specified column

append string to each row in a specified column

thailemonthailemon Posts: 2Questions: 0Answers: 0
edited July 2013 in General
Hi,

How can I append a string to each row in a specified column? One of my columns contains file name, and I would like to add FileName.txt to each of the rows in the 3rd column?

All my data comes from SQL database.

All help is much appreciated :)

Replies

  • thailemonthailemon Posts: 2Questions: 0Answers: 0
    fixed. tweaked the json output array.

    $before_data = 'Listen';
    $aRow[ $aColumns[1] ] = $before_data . $aRow[ $aColumns[1] ] . $after_data;
This discussion has been closed.