yeahz Posted February 26, 2009 Report Share Posted February 26, 2009 mysql_query("SELECT * FROM table WHERE kkas='yes' AND WHERE kkas2=$id"); Mēģinu izveidot ko šādu, bet man visu laiku ir errors, ka query ir nepareizs. Kā šo kļūdu labot, tā lai skatās pēc 2 parametriem? Quote Link to comment Share on other sites More sharing options...
Grey_Wolf Posted February 26, 2009 Report Share Posted February 26, 2009 divus nevar vienaa kverijaa .. to vienu vienkarshi izmet araa... (pedejo) WHERE x=1 AND y=2 ..... WHERE (x=1 AND y=2) OR Z=4 Un taa uz prieksu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.