PHP How to create array value using for loop? -


PHP कैसे लूप के लिए एआरएआर का उपयोग करें?

  $ my_array = array (के लिए ($ I = 0; $ i & lt; 10; $ i ++) {$ i,}); गूंज '& lt; पूर्व & gt;'; print_r ($ my_array); गूंज '& lt; पूर्व / & gt;';  

  $ my_array = array (); ($ I = 0; $ i & lt; 10; $ i ++) के लिए {$ my_array [] = $ i; }  

Comments

Popular posts from this blog

python - rpy2 import is not working -

c++ - How to load a bitmap from file into the samples buffer -

javascript - How to get MySQL query result returned using $.ajax -