RaitisRR Posted January 23, 2007 Report Share Posted January 23, 2007 Ka lai pareizi izvadu datus no kadas konkretas datu bazes tabulas ... plz paradiet kadu piemeru ... Link to comment Share on other sites More sharing options...
RaitisRR Posted January 23, 2007 Author Report Share Posted January 23, 2007 man vajg no datubazes Forums izdrukat tabulu - phpbb_banlist Link to comment Share on other sites More sharing options...
Hamlets Posted January 23, 2007 Report Share Posted January 23, 2007 (edited) http://paste.php.lv/5018 Nezinot tabulas struktūru neko labāku nevaru piedāvāt. Edited January 23, 2007 by Hamlets Link to comment Share on other sites More sharing options...
RaitisRR Posted January 23, 2007 Author Report Share Posted January 23, 2007 Tnx pa to pashu es jau pats izpipeju kur man bij kluuda - bet nu tnx tapat !! :) pec neguletas nakts piellavu stulbu neuzmanibas kluudu un tapec ar bij tadz tizls jautaajums... :D Link to comment Share on other sites More sharing options...
RaitisRR Posted January 23, 2007 Author Report Share Posted January 23, 2007 (edited) Man jauns jautajums vai rakstu pareizi - if ($row['ban_userid'] =" ") tad neizdrukaa ? man vajg panakt ja id ir mazaks par 3 tad lai vinsh neko nedruka araa ... Edited January 23, 2007 by RaitisRR Link to comment Share on other sites More sharing options...
bubu Posted January 23, 2007 Report Share Posted January 23, 2007 = un == ir divas dažādas operācijas. = http://www.php.net/manual/en/language.oper....assignment.php == http://www.php.net/manual/en/language.oper....comparison.php Link to comment Share on other sites More sharing options...
andrisp Posted January 23, 2007 Report Share Posted January 23, 2007 (edited) Ja jau vajag, lai neizdrukā tos, kur id mazāks par 3, tad tā arī raksti: if ($row['ban_userid'] >= 3) { // izdrukajam } Edited January 23, 2007 by andrisp Link to comment Share on other sites More sharing options...
v3rb0 Posted January 23, 2007 Report Share Posted January 23, 2007 (edited) tad kāpēc vispār no db vilkt ārā, ja tālāk tāpat neizdrukās .. where id < 3 Edited January 23, 2007 by v3rb0 Link to comment Share on other sites More sharing options...
Recommended Posts