hello,
This is code but it does not run <? $sqlautolink="select * from linkauto"; $result_autolink=mysql_query($sqlautolink) or die("Not Query linkauto"); $link = array(); while($rowslinkauto=mysql_fetch_row($result_autolink)) { $link[] = $rowslinkauto["link"]; } $j=0; for ($j=0; $j<=strlen($link); ++$j) {echo $link[$j]."<br>"; }
?>
[man]strlen[/man] is for getting the length of a string. You want the length of an array, which is [man]count[/man]. Oh, and it will be "<", not "<=".