title: PHP serialize & mysql_real_escape_string issue
body: <p>I'm trying to add serialize array into database in wordpress, but I found that some of the content unable to retrieve, is returning false with using var_dump() to check the unserialize array.</p>
  
  <p>My question: Is it enough to use mysql_real_escape_string to convert those special characters? Is it a better way to handle the serialize array compare to the process below?</p>
  
  <pre><code>// create array
  $array = array(
      "title" =&gt; mysql_real_escape_string( $_POST['title'] ),
      "description" =&gt; mysql_real_escape_string( $_POST['description'] ),
      "datetime" =&gt; mysql_real_escape_string( $_POST['datetime'] )
  );
  // serailize
  $array = maybe_serialize($array);
  // insert into database
  $wpdb-&gt;insert("mytable", array("ID"=&gt;NULL, "content"=&gt;maybe_serialize($array)));
  </code></pre>