Jump to content

How to seperate data serialized and input into MySQL


callingrohit

Recommended Posts

Hi everyone,

I have a form with checkbox input and the data is stored into a MYSQL table.

So I serialize this checkbox data before inserting it into the database. Now I also export the data with a

click of a button into a spreadsheet.

The data in the mysql table looks like this [b]a:3:{i:0;s:3:"uno";i:1;s:3:"dos";i:2;s:4:"tres";}[/b]

I was wondering if its possible to modify  the above data to just [b]uno,dos,tres[/b] and then insert it into my excel table.

Thanks

cheers
rohit

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.