Pai, ambele se folosesc daca doriti sa adaugati mai multe variabile unei comenzi sau unei functii.
Doar ca diferenta dintre acestea este urmatoarea :
|| - Determina diferenta variabilelor, asta inseama ca este un fel de "ori".
&& - Determina 2 variabile intr-o restrictie, functie, etc. Si este exact ceea ce specifica si semnul, adica "Si".
exemplu :
Code:
You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Sau al 2 -lea exemplu :
Code:
You have to register to be able to see this link. Register HERE! If you are already a member please log in! If you still you are not able to see the link you need to activate your account or an administrator need to activate your account!
Sper ca v-am fost de ajutor.
O zi buna.
Cu stima JumainKain.
WarGods Community