Jump to content

Arrays


common

Recommended Posts

Hey

 

I have a string and need to break it up so that the words are the values in a array.

Then i want to create a list of the words, but i want to give the array key next to each word.

For example if i have "Hallo my name is Jan". I want the words in a list and numbers form 0 to 5 next to each word. How do i get the numbers because i've got the words in a list.

Link to comment
https://forums.phpfreaks.com/topic/148808-arrays/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.