php add multiple array elements into one array code example Example: php append element to array array_push($cart, 13);