I have an array inside this variable:
$myArray;
Then I'm inserting it into the database where I have a text field:
mysqli_query($con,"INSERT INTO myTable (thetextfield) VALUES ('$myArray')");
The problem is that I've looked in the table content and it just says "Array" (without the quotes).
Is there not a way to insert the array as it is or separate them by commas and insert them?
implode(',',$myArray)