|
-
Jul 12th, 2003, 12:11 PM
#1
Thread Starter
Lively Member
show last ten recoreds
i wrote this code but all the time I get an error
<?
require ("admin/config.php");
mysql_connect($server,$db_user,$db_pass);
mysql_select_db($database) ;
$news=mysql_query("select * from users order by ID desc limit
0,10");
while($art = mysql_fetch_array($news)){
$name = ($art[age],1);
echo $name;
}
mysql_close();
?>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|