<?php ); { { if($key>=0 && $key<=3) { } } } ?>
Czy taka metoda jest dozwolona i czy skrypt jest poprawny?
<?php ); { { if($key>=0 && $key<=3) { } } } ?>
<?php $ile = 5; $sql = "SELECT * FROM news ORDER BY id DESC"; $result = odbc_exec($conn, $sql); $numrows = news_count($conn,$sql); if(!$_GET['p']) $p = 0; $p = (int)$_GET['p']; $ile = (int)$ile; while ($row = odbc_fetch_array($result)) { $err[] = $row; } { { if($key>=$ile && $key<=$p) { $value['data']; } } } for($i=0;$i<ceil($numrows/$ile);$i++) { } ?>