Bir if()
tablosunda birden çok yan tümce için herhangi bir yolu var mı?
Örneğin:
if( ($username=='textUser' && $role=='admin') || ($admin=='yes'))
{
// If the username AND role are set to admin OR if the admin is set to 'yes'
}
else
{
// Neither clauses of the if statement are true
}
Belki de bu aslında doğru kod, ben hiç bunu denedim - ama eğer, kimse bana nasıl söyleyebilir? :)