mp3 Posted December 24, 2009 Report Share Posted December 24, 2009 Sveiki, man ir skripts priekš ipb login ,viņu apskatīt var šeit http://paste.php.lv/2d981a3e8a22214e8a8f66...09ffaa?lang=php jau daudzas reizes esmu skatījies ,bet nesaprotu kāpēc avataru nerāda. un būtu ļoti labi ,ja varētu pateikt kā uzlikt ,lai ,kad atnāk jauna vēstule ,lai rādās vēstules (jauni_vestulu_skaits) ? jau iepriekš liels paldies. Quote Link to comment Share on other sites More sharing options...
rATRIJS Posted December 24, 2009 Report Share Posted December 24, 2009 Links nedarbojas. Quote Link to comment Share on other sites More sharing options...
mp3 Posted December 26, 2009 Author Report Share Posted December 26, 2009 atvainojos http://paste.php.lv/40ce4292b0f62c6c3868c7c942a0225b?lang=php Quote Link to comment Share on other sites More sharing options...
false Posted December 26, 2009 Report Share Posted December 26, 2009 (edited) Nezinu ipb datubāzi, bet izvēlc šadi $msg = mysql_query("SELECT * FROM message WHERE lasiits = '0'"); echo mysql_num_rows($msg); un kad izlasa vēstuli db updeitojas un lasiits paliek 1 . Edited December 26, 2009 by false Quote Link to comment Share on other sites More sharing options...
2easy Posted December 26, 2009 Report Share Posted December 26, 2009 (edited) false, ja vajag uzzināt tikai vienu pašu skaitu, tad labāk to darīt šādi (vnk tā ir ātrāk) list($skaits) = mysql_fetch_row(mysql_query("SELECT COUNT(*) FROM message WHERE lasiits = 0")); echo $skaits; Edited December 26, 2009 by 2easy 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.