Multiple form fields to one database column
the issue is that i have several text inputs that need to all submit to "customer_comments" but when i name them all "customer_comments" only the final one ends up being seen in the database.
im trying to do php to handle it but there seems to be issues
<?
$customer_comment = "";
foreach($_POST['customer_comment'] as $value)
{
$customer_comment .= $value . ", ";
}
$customer_comment = substr($customer_comment, 0, -2); //to get rid of the final ", "
echo $customer_comment;
?>
right now, instead of posting customer comment,customer comment, customer comment it's just posting "Array"
Recurring Proven SEO Business Model Rent Out Your (Local) Sites and YT vids
Give you AD Funnel Super Power!
ADConnect.io - Lower CPC. Sky-Rocket Conversions!!