$sql ="select * from marca
where marca_status = 'A'
";
$sql .= "order by rand()";
$sql2 ="select * from marca
where marca_status = 'A'
";
$sql2 .= " order by rand()";
@$exec = mysql_query($sql);
@$exec2 = mysql_query($sql2);
@$total = mysql_num_rows($exec);
?>
while(@$linha = mysql_fetch_array($exec2)){
?>
if($linha['marca_foto'] == ''){ }else{
?>
/ echo $linha['marca_id'];?>'>
' height='100'>
}
?>
}
?>
© Todos os direitos reservados.