yeahz Posted October 25, 2008 Report Share Posted October 25, 2008 Kods: if(isset($_SESSION['play'])) =< 1 { } Problēma - vajag, lai nolasa no datubāzes, vai tā kolonna play ir vienāda vai lielāka par viens, ja uzraksta šādi kā man ir kodā dots, tad izmet erroru: Parse error: syntax error, unexpected '=' in C:\AppServ\www\play.php on line 53 Kā lai savādāk raksta? Link to comment Share on other sites More sharing options...
rausis Posted October 25, 2008 Report Share Posted October 25, 2008 (edited) if(isset($_SESSION['play']) && $_SESSION['play'] =< 1) { } Edited October 25, 2008 by rausis Link to comment Share on other sites More sharing options...
waplet Posted October 25, 2008 Report Share Posted October 25, 2008 gadījumā < nav jāliek pirms = zīmes? Link to comment Share on other sites More sharing options...
mounkuls Posted October 25, 2008 Report Share Posted October 25, 2008 Ir gan, vismaz tā vajadzētu būt. Link to comment Share on other sites More sharing options...
Recommended Posts