Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Página aonde você vai tratar os items
- $itemsArr = [];
- foreach ($_POST['items'] as $item) {
- if(isset($item)){
- array_push($itemsArr, $item . '+');
- }
- }
- echo '<pre>'. print_r($itemsArr, 1). '<pre>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement