How to add value into array in phph code example Example: php append element to array array_push($cart, 13);