<? $sql = "SELECT * FROM `lentele` WHERE `id` = '1'"; db_connect(); $result = mysql_query($sql) or die(mysql_error()); while($row = mysql_fetch_array($result)){ } mysql_close(db_connect()); ?>