View Single Post
Old 01-15-2008, 03:33 PM   #1 (permalink)
webtuto
The Addict
 
webtuto's Avatar
 
Join Date: Dec 2007
Location: morocco
Posts: 221
Thanks: 19
webtuto is on a distinguished road
Default plz help me here

hi
im trying to add best rated articles so i made this code

PHP Code:
$web "SELECT max(rate) as rate from `rate`";
    
$tuto mysql_query($web) or die('Database error: ' mysql_error());
    
$mas mysql_fetch_array($tuto);
     
$round $mas['tuto_id'];
  
$web2="select * from tuto where id='$mas[tuto_id]'";
  
$res2=mysql_query($web2);
  while(
$mas2 mysql_fetch_array($res2)) {
   echo 
$mas2['title'];
   } 
well it douesnt give any error just blank
__________________
Send a message via MSN to webtuto Send a message via Yahoo to webtuto Send a message via Skype™ to webtuto
webtuto is offline  
Reply With Quote