Uutiset:

Join the Facebook Fan Page.

Main Menu
Advertisement:

Ifs in Ifs?

Aloittaja PoLlama, heinäkuu 08, 2007, 02:17:48 IP

« edellinen - seuraava »

PoLlama

With PHP, can you make a if then statement in a if then statement with PHP, or does it have to be If ... ElseIf .

Thantos


if (cond)
{
    if (another cond)
    {
      if (yet another condition)
         // etc
    }
}

PoLlama

Great that means the parse error is something hard to find. I'm glad I can do Ifs in Ifs though.

Advertisement: