when i for example want to create a thumbnail.
and when i do this i have already created a file called "settings.php" with some information conserning the different thumbs in it. for example the url to the different thumbs.
I have called them $url1 = "clowns" and $ url2 = "beach" and so on.
And then i have one named $Amount where the total number of thumbs is.
Then i have created a for-funktion to create a table on the webpage... this is where my problem is. In the for-funktion i have a variable called $i... like for($i=1;$i<=$Amount;$i++). and everytime $i gets a new number i want the funktion to sen out a line like "<td><a target =\"main\" href=\"fbilder/$url1/thumb.php\"><img src=\"fbilder/$url1/$thumbname\" border=\"0\"></a></td>\n".
but how tha *** do i change the "url1" to "url2" and so on... depending on what number $i has??
i hope someone can understand my problem... i hate this problem... i want it to burn in hell
peace be with ya all!