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

javascript - How to use the code plugin with popcornjs -

python - rpy2 import is not working -

Python, converting png to gif using ImageMagick -