0
Good night, well, I wonder how I can put it: if ($this->GetCategoryName() == 'mmorpg' OR 'shots') on the same line of code, without having to do this:
if ($this->GetCategoryName() == 'mmorpg') {
if ($this->GetCategoryName() == 'shots') {
$url = $c_url;
} else {
$url = $c_url;
}
} else {
$url = U_LANG.'/'.$url_cat;
}
if ($this->GetCategoryName() == 'mmorpg' && $this->GetCategoryName() == 'shots') {– Bacco
kkk Eae man :D, if you have Discord account? I am new in PHP, so if you could be my teacher rs, I have already set if, it was just by the
ORthus:orthere worked:$this->GetCategoryName() == 'mmorpg' or 'shots'– user126995