ciao
questa sintassi è corretta?
grazie ciaoCodice PHP:
if($row['PIN'] == "" OR ($row['PIN'] != "" && $_SERVER['HTTP_REFERER'] == "http://www.miosito.com/cartella/pin.php")) {
$a = 'ok'; } else { $a = 'no'; }
ciao
questa sintassi è corretta?
grazie ciaoCodice PHP:
if($row['PIN'] == "" OR ($row['PIN'] != "" && $_SERVER['HTTP_REFERER'] == "http://www.miosito.com/cartella/pin.php")) {
$a = 'ok'; } else { $a = 'no'; }
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
Non dirmi che non puoi provare !!!!
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr
ho provato, e siccome mi esce pagina bianca anke quando $a = ok; volevo sapere se c'èra un errore(non parser error) ma nella struttura della stringa!
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
la stringa dovrebbe dire:
a$ ok; nel caso in cui il campo PIN è vuoto, oppure se è pieno la pagina da cui si viene è l'url ke ho scritto!
e quindi volevo sapere se l'ho scritto in modo giusto!
http://codecanyon.net/category/all?ref=Manuelandro
And I bet she told a million people that she'd stay in touch, Well all the little promises they dont mean much,When theres
memories to be made
Secondo me è giusto.
Ridatemi i miei 1000 posts persi !!!!
Non serve a nulla ottimizzare qualcosa che non funziona.
Cerco il manuale dell'Olivetti LOGOS 80B - www.emmella.fr