Jump to content

[SOLVED] how to set multiple variables with one if statement?


misterm

Recommended Posts

Hello

 

I am trying to set 2 variable with one if statement:

 

if ($lang == "englidh") { $cardTitle = $englishTitle    $sendLang = "en" ;}

 

I'm missing something really simple to separate the 2 avriables I'm trying to set. I can't seem to find it anywhere. Tried || etc.

 

Any help is much appreciated.

 

All the best

 

Mr M

 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.