Can I use IF multiple times to switch between multiple options in PHP?
Posted
by Ronnie Chester Lynwood
on Stack Overflow
See other posts from Stack Overflow
or by Ronnie Chester Lynwood
Published on 2010-02-16T16:52:02Z
Indexed on
2010/05/09
5:28 UTC
Read the original article
Hit count: 227
hey i got 9 type on my web. i have to set different keywords each type. with this script;
if ($type = movie) {
$yazdir = "DVDRip, DVDScr";
}
elseif ($type = game) {
$yazdir = "Full Version, Patch";
}
i can write keywords for two type. how to repeat this correctly for other types? (echo paramether must be $yazdir)
© Stack Overflow or respective owner