inserting checkbox values to database
<p>I have a php form with some textbox and checkboxes which is connected to a database
I want to enter all the details into the database from the form.All the textbox values are getting entered except the checkbox values.I have a single column in my table for entering the checkbox values and the column name is URLID.I want to enter all the selected checkbox(URLID)values to that single column only ,separated by commas.I have attached the codings used.can anyone find the error and correct me?
NOTE: (The URLID values in the form is brought from the previous php page.those codings are also included.need not care about it)</p>

<pre><code>URLID[]:
&lt;BR&gt;&lt;?php
$query  = "SELECT URLID FROM webmeasurements";
$result = mysql_query($query);

while($row = mysql_fetch_row($result))
{
    $URLID  = $row[0];


   echo "&lt;input type=\"checkbox\" name=\"checkbox_URLID[]\" value=\"$row[0]\" /&gt;$row[0]&lt;br /&gt;"; 
   $checkbox_values = implode(',', $_POST['checkbox_URLID[]']); 

} 


?&gt; 
</code></pre>
