while modern acc error

Raggaer

Godly Member
Joined
Jul 25, 2012
Messages
1,556
Reaction score
893
Location
Spain
Why im getting this kinda error with this code

Code:
Message: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given
PHP:
while($qq = mysql_fetch_assoc($query1)) {    
echo 'You are buying: <b>'.$qq['name'].'</b> for <b>'.$qq['cost'].' points</b><br>';       
}
Whyy ;((
 
Top