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

« Email/join form spam || Mailing files? »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home