foreach code for implode count, help please

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
danjapro
Forum Commoner
Posts: 72
Joined: Mon Sep 27, 2004 10:56 am

foreach code for implode count, help please

Post by danjapro »

I need to return each number from 1 - 10000 individually

to out each number as part of url to build the link.
How to write out the the foreach syntax, please help

Code: Select all


	$thumbnails = implode($thumbnails, range(1, 10000));

User avatar
Celauran
Moderator
Posts: 6427
Joined: Tue Nov 09, 2010 2:39 pm
Location: Montreal, Canada

Re: foreach code for implode count, help please

Post by Celauran »

What you've listed above is just going to create a monster string. What is it exactly you're trying to do?
Post Reply