I need some help coding this. I want to insert each $value element from $_SESSION into $key coloumn(these were created after $key). Something like
foreach ($_SESSION as $key => $value) {
// "INSERT INTO test (".$value.") VALUES (". $key.")";
}
i was looking at Best way to INSERT many values in mysqli? but i dont quite get it Since im useing mysqli it has to be objects