$foto_nome1 = md5(1.uniqid(time())) . ".jpg"; $foto_nome2 = md5(2.uniqid(time())) . ".jpg"; $foto_nome3 = md5(3.uniqid(time())) . ".jpg"; $foto_nome4 = md5(4.uniqid(time())) . ".jpg";
- Fórum WMO
- → Viewing Profile: Posts: digo
Community Stats
- Group Usuários
- Active Posts 435
- Profile Views 2918
- Member Title 24 Horas
- Age 40 years old
- Birthday August 18, 1983
-
Sexo
Male
1
Neutral
User Tools
Friends
digo hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: Não Salva + De Um $_Files
14/01/2014, 17:01
In Topic: Vinculo Entre Tabelas
18/12/2013, 12:09
$imoveis=mysql_query("SELECT * FROM tabela1, tabela2 where tabela2.dataD = '" . $data_hoje . "' order by id_imovel DESC LIMIT 9")
$cont = 1;
while($row = mysql_fetch_object($imoveis)){
MOSTRA NA PÁGINA
$cont++;
}
if($cont < 9){
$limiteDestaque = 9 - $cont;
$imoveisDestaque2 = mysql_query("SELECT * FROM tabela LIMIT $limiteDestaque ");
while($row = mysql_fetch_object($imoveisDestaque2)){
MOSTRA NA PÁGINA
}
}
$cont = 1;
while($row = mysql_fetch_object($imoveis)){
MOSTRA NA PÁGINA
$cont++;
}
if($cont < 9){
$limiteDestaque = 9 - $cont;
$imoveisDestaque2 = mysql_query("SELECT * FROM tabela LIMIT $limiteDestaque ");
while($row = mysql_fetch_object($imoveisDestaque2)){
MOSTRA NA PÁGINA
}
}
- Fórum WMO
- → Viewing Profile: Posts: digo
- Privacy Policy
- Regras ·