Braiens Posted May 2, 2004 Report Share Posted May 2, 2004 kapēc neiet ? $parbaude = mysql_fetch_array(mysql_query("SELECT txt FROM "._MySql_News_Table)); if(empty($parbaude['txt'])) { echo 'Sore ne tur ielīdi...'; } else { ... } Link to comment Share on other sites More sharing options...
justus Posted May 2, 2004 Report Share Posted May 2, 2004 tapee ka tu nekaa negribi sajeegt, bet tikai ar savu netspameru.net baru dirsaties apkart nu beidzot tev iespeja uzrakstit kautko pasam nevis tikai kopet exploitus un graiziit no engineem <powred by> informaciju :angry: :angry: :angry: :angry: :angry: :angry: :angry: Link to comment Share on other sites More sharing options...
Braiens Posted May 2, 2004 Author Report Share Posted May 2, 2004 tapee ka tu nekaa negribi sajeegt, bet tikai ar savu netspameru.net baru dirsaties apkart nu beidzot tev iespeja uzrakstit kautko pasam nevis tikai kopet exploitus ungraiziit no engineem <powred by> informaciju :angry: :angry: :angry: :angry: :angry: :angry: :angry: es nesmu tas kursh nem nost powerd by ... lol Link to comment Share on other sites More sharing options...
bubu Posted May 3, 2004 Report Share Posted May 3, 2004 kapēc neiet ? $parbaude = mysql_fetch_array(mysql_query("SELECT txt FROM "._MySql_News_Table)); if(empty($parbaude['txt'])) { echo 'Sore ne tur ielīdi...'; } else { ... } a pameegjini $paarbaude[0] mosh? un kas tieshi neiet? tas selects vai tas empty? un ko tu gribi panaak ar to empty? paarbaudiit vai neatgriezh nevienu rindinju? tam labaak der mysql_num_rows() Link to comment Share on other sites More sharing options...
rnc Posted May 3, 2004 Report Share Posted May 3, 2004 "SELECT txt FROM "._MySql_News_Table šim, nav gadijumā jāizskatās šādi ? -> "SELECT txt FROM MySql_News_Table" ? Link to comment Share on other sites More sharing options...
Recommended Posts