This will serialize the data so that php can read ans use it