Troxy Posted May 23, 2007 Report Share Posted May 23, 2007 userlist ID username password email image acc admin ke 1 niks parole mail@mail.lv img/es.jpg yes yes <? include("inc/config.php"); $result = mysql_query("SELECT * FROM userlist"); while ($row = mysql_fetch_assoc($result)) ?> <p> <img border="0" src="<?echo $row['image']?>" width="116" height="34"></p> ka pareizi izvadiit? Link to comment Share on other sites More sharing options...
andrisp Posted May 23, 2007 Report Share Posted May 23, 2007 php.net/mysql_fetch_assoc piemēros var atrast kā pareizi jāciklo cauri mysql rezultam. Link to comment Share on other sites More sharing options...
Troxy Posted May 23, 2007 Author Report Share Posted May 23, 2007 (edited) php.net/mysql_fetch_assoc piemēros var atrast kā pareizi jāciklo cauri mysql rezultam. Nevaru atrast piemeeru:( Edited May 23, 2007 by Troxy Link to comment Share on other sites More sharing options...
andrisp Posted May 23, 2007 Report Share Posted May 23, 2007 Ai nu: include("inc/config.php"); $result = mysql_query("SELECT * FROM userlist"); while ($row = mysql_fetch_assoc($result)) { echo '<img src="'.$row['img'].'" />'; } Link to comment Share on other sites More sharing options...
Troxy Posted May 23, 2007 Author Report Share Posted May 23, 2007 Ai nu: include("inc/config.php"); $result = mysql_query("SELECT * FROM userlist"); while ($row = mysql_fetch_assoc($result)) { echo '<img src="'.$row['img'].'" />'; } PALDIES Andri Link to comment Share on other sites More sharing options...
Recommended Posts