taking the following data from database:
a:1:{i:1;a:4:{s:2:"id";s:1:"1";s:9:"universal";s:655:"<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"> <head><title><!-- TITLE --></title> <meta http-equiv="content-type" content="text/html; charset=iso-8859-1"> <style type="text/css"> <!-- CSS --> </style> </head> <body> <table border="0" width="100%"> <tr> <td background="images/1/logo_repeat.jpg"> <img src="images/1/logo.jpg" alt="Logo"> </td> </tr> </table> <table border="0" width="98%" align="center"> <tr> <td> <!-- DATA --> </td> </tr> </table> <!-- COPYRIGHT --> </body> </html>";s:3:"def";s:1:"1";s:3:"css";s:115:"* { font-family: Verdana, helvetica, sans-serif; font-size:10px; } body { margin:0px; padding:0px; }";}}
running it through unserialize, creates the error Notice: unserialize(): Error at offset 0 of 5 bytes
it still works, but I want to get rid of the error (not by turning off error reporting ;p)