Jump to content

printing everything in an explode()


tjmbc

Recommended Posts

i have an array that I used explode() on to break it up into variables

 

i can echo each variable by calling it with $variable[0] then $variable[1]

 

but how do I print all of the variables without calling each one individually?

 

i'm guessing its something like

 

while(???some sort of code to that i don't know???) {

 

  echo $variable;

 

}

Link to comment
https://forums.phpfreaks.com/topic/108305-printing-everything-in-an-explode/
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.