PHP Question
Date: 08/02/06
(PHP Community) Keywords: no keywords
Assume this code:
$fetish = $_GET[fetish];
...
0)
{
foreach($fetish as $fet)
{?>&fetish[]=
}
now, if assuming that fetish is an array with one or more elements, why doesn't the foreach loop work?
UPDATE: I solved the problem. Apparently, there was a problem before the foreach loop that was preventing it from running. I rebuilt the echo statement that built the URL up to the point of the fetish portion, and now it works just fine.
Thanks to everyone who commented.
Source: http://community.livejournal.com/php/479050.html