Jump to content


digo's Content

There have been 2 items by digo (Search limited from 29/03/2023)


Ordernar por                Order  

#1020490 Não Salva + De Um $_Files

Posted by digo on 14/01/2014, 17:01 in PHP


 $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";




#1020464 Vinculo Entre Tabelas

Posted by digo on 18/12/2013, 12:09 in PHP

$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

}


}




IPB Skin By Virteq