How can I loop through the members of an array?



How can I loop through the members of an array? ..

Answer / jude jeevanraj.p

If you want to create a quick and easy loop to show the
values of an array, then all you need is the trusty foreach
control structure, thus:

<?php
$alphabet = range("A","Z");
foreach

Is This Answer Correct ?    2 Yes 2 No

Post New Answer

More PHP Interview Questions

What is $_ server request_method == post?

0 Answers  


What is php how it works?

0 Answers  


how many types of inheritance is there in php? name there?

10 Answers  


How to communicate with sockets in php?

1 Answers  


What is the difference between $message and $$message?

2 Answers  






How can you insert javascript in php code?

13 Answers   TCS,


How to redirect a page in php?

0 Answers  


What is regular expression in javascript?

0 Answers  


Are react hooks stable?

0 Answers  


Which php framework is best for security?

0 Answers  


How to store the uploaded file to the final location?

0 Answers  


Tell me what is the difference between ereg_replace() and eregi_replace()?

0 Answers  


Categories