Advertisement
GWibisono

fungsi liat content dgn limit

May 19th, 2012
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.29 KB | None | 0 0
  1. function contentView($lim=30)
  2. {
  3.     $sql="SELECT content FROM tb_content ORDER BY id limit $lim";
  4.     $ambil_database = mysql_query($sql)or die(mysql_error().
  5.         "<br>$sql";
  6.     while ($stemming3 = mysql_fetch_array($ambil_database)){
  7.         $string = $stemming3['content'];
  8.         stemming2($string);
  9.     }
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement