Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Inserir valor de foreach em uma variável
- $a = array("Pedro","Maria","Tiago"); // Array
- foreach($a as $ver) // Foreach
- {
- $tudo = $ver. " ,";
- }
- echo $tudo;
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement