Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to insert entire value of $_POST in mysql database without writing like $_POST['something']
    primarykey
    data
    text
    <p>I have html data in an array like </p> <pre><code>Array( [postedMsg] =&gt; &lt;font color="blue"&gt;Blogger Wallpost&lt;/font&gt; [nbsp;&lt;div_dir] =&gt; "ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;&lt;a href="http://4.bp.blogspot.com/-JrRECIxhi4s/TzpAs4lmgnI/AAAAAAAAAD4/KWcPpfXEGtU/s1600/800px-Cooked_Poha.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"&gt;image&lt;/a&gt;&lt;/div&gt;&lt;div class="separator" style="clear: both; text-align: center;"&gt;Happy Blogger Wallpost&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;image src&lt;/div&gt; ) </code></pre> <p>I try to use the code like </p> <pre><code> foreach($htmlpostedMsg AS $key =&gt; $value) { $htmlpostedMsg[$key] = $value; } print_r($htmlpostedMsg[$key]); </code></pre> <p>It prints only last part like</p> <pre><code> \"ltr\" style=\"text-align: left;\" trbidi=\"on\"&gt;&lt;div class=\"separator\" style=\"clear: both; text-align: center;\"&gt;&lt;/div&gt;&lt;div class=\"separator\" style=\"clear: both; text-align: center;\"&gt;&lt;/div&gt;&lt;div class=\"separator\" style=\"clear: both; text-align: center;\"&gt;&lt;/div&gt;&lt;div class=\"separator\" style=\"clear: both; text-align: center;\"&gt;&lt;a href=\"http://4.bp.blogspot.com/-JrRECIxhi4s/TzpAs4lmgnI/AAAAAAAAAD4/KWcPpfXEGtU/s1600/800px-Cooked_Poha.jpg\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"&gt;image src&lt;/a&gt;&lt;/div&gt;&lt;div class=\"separator\" style=\"clear: both; text-align: center;\"&gt;Happy Blogger Wallpost&lt;/div&gt;&lt;br&gt;&lt;/div&gt;&lt;div class=\"blogger-post-footer\"&gt;image src&lt;/div&gt;\n </code></pre>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload