When I tried to get rows of my table with
mysql_fetch_array , in the while loop something weird happened when I take a value of a specific row.
For example my code is something like that:
Code:
$query = "SELECT * FROM yirmidort WHERE prn = 'n' ORDER BY kackere DESC LIMIT 0,20";
$result = mysql_query($query) or die(mysql_error());
$n = 0;
while($row = mysql_fetch_array($result)){
$n++;
$kackere = $row['kackere'];
$linki = $row['adresi'];
}
if limit is less than 20 no problem but the problem happens when Limit is 20. If so everyting in the page goes and there is not error but only "28" in the page!(I don't know what is "28" )
Problem is in the 20. row. also if I comment out
Code:
$linki = $row['adresi'];
, no errors. Then problem is in the "adresi" column. Then I went to that cell by phpmyadmin. There is nothing strange. Then I started to remove inside the cell part by part and look if there is error "28". Then I come to "ebayisapi" word in the cell. there is still error but when it becomes "bayisapi" or "ebayisap" that strange "28" error goes away!
So did you understand anything from this weird thing? Is "ebayisapi" a magic word?