The datatype you’re showing us here is a serialized variable in PHP.
To serialize or unserialize it, just use these two methods :
http://php.net/manual/en/function.serialize.php
http://www.php.net/manual/en/function.unserialize.php
To store it in MySQL, depends on the size of the serialized data. VARCHAR, TINYTEXT, TEXT, MEDIUMTEXT or BIGTEXT are available.
Related Contents:
- JSON encode MySQL results
- PHP MySQL Google Chart JSON – Complete Example [closed]
- How to build a JSON array from mysql database
- The holy grail of cleaning input and output in php?
- Send data from android to server via JSON
- How can I parse a JSON file with PHP? [duplicate]
- MySQL query to get column names?
- MySQL vs MySQLi when using PHP [closed]
- PHP with MySQL 8.0+ error: The server requested authentication method unknown to the client [duplicate]
- How do I set ORDER BY params using prepared PDO statement?
- mysqli_stmt::bind_result(): Number of bind variables doesn’t match number of fields in prepared statement
- How to resolve ambiguous column names when retrieving results?
- Why is mysqli giving a “Commands out of sync” error?
- Processing large JSON files in PHP
- Fatal error: Call to undefined function mysql_connect()
- PHP & MySQL: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given [duplicate]
- Detect bad json data in PHP json_decode()?
- Parsing JSON object in PHP using json_decode
- How can I loop through a MySQL result set more than once using the mysql_* functions?
- how safe are PDO prepared statements
- Set PDO to throw exceptions by default [duplicate]
- handle json request in PHP
- How Can I Set the Default Value of a Timestamp Column to the Current Timestamp with Laravel Migrations?
- How do I set the selected item in a drop down box
- MySQL – count total number of rows in php
- PHP7.1 json_encode() Float Issue
- Alternative to mysql_real_escape_string without connecting to DB
- Object of class DateTime could not be converted to string
- Import file size limit in PHPMyAdmin
- Best way to create an empty object in JSON with PHP?
- Laravel 5.4 on PHP 7.0: PDO Exception – Could not find driver (MySQL)
- mysql_num_rows(): supplied argument is not a valid MySQL result resource [duplicate]
- MySQL ORDER BY IN()
- Is there any way to convert json to xml in PHP?
- PHP Create a Multidimensional Array from an array with relational data [duplicate]
- Converting Object to JSON and JSON to Object in PHP, (library like Gson for Java)
- How do detect that transaction has already been started?
- How do I insert multiple checkbox values into a table?
- Php – Your PHP installation appears to be missing the MySQL extension which is required by WordPress
- Using if(isset($_POST[‘submit’])) to not display echo when script is open is not working
- Error while using PDO prepared statements and LIMIT in query [duplicate]
- Best practice: Import mySQL file in PHP; split queries
- Update query with PDO and MySQL
- How to insert an array into a single MySQL Prepared statement w/ PHP and PDO
- What is the advantage of using try {} catch {} versus if {} else {}
- Aggregated query without GROUP BY
- Laravel Cannot delete or update a parent row: a foreign key constraint fails
- How can I access an object property named as a variable in php?
- How to get primary key of table?
- Change name of Laravel’s created_at and updated_at