@NogDogNov 11.2006 — #Well, an array is simply a variable for storing multiple data elements (either scalar values or other arrays), so to your literal question: no. I suspect, howver, that there's more to your question than that, so if you'd care to explain further what it is you want to do, maybe we can come up with a solution.
@pcthugNov 11.2006 — #Not exactly a very good coding practice, but you could store the results (i.e. function callback) of a while loop:[code=php] function myFunction($arg) { while($arg) { echo 'Hello, World!'; } }
in reality If I don't have to do this, it probably would be awsome.
What I need to do is get the image and determine whether it is a link to a larger image or a link to a URL, so everytime they type in: [IMG=imagename.jpg] it will automatically pace the <a href="">around the image with the correct link.