I have this insert in database query which works fine...
$sql = "INSERT INTO table (value) VALUES ($this->name[$basketcounter])
When i check the database the record just says 'array'
even though this is not the value of '$this->name[$basketcounter]'
How can i insert the value of the array into the database?