Jump to content
alexarpad2003

php array

Recommended Posts

Posted

$a=array(1=>'1', 2=>'2', 3=>'3', 4=>'4', 5=>'5', ......, 100=>'100');

Cum pot scrie variabila $a pentru a imi genera array-ul de mai sus ? Fara sa fiu nevoit sa scriu toate cheile si valorile pana la 100? Pentru generarea numerelor as folosi ($i=1; $i<=100; $i++)

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...