Ver Mensaje Individual
  #7 (permalink)  
Antiguo 03/09/2008, 13:25
seba_pincha
 
Fecha de Ingreso: septiembre-2008
Mensajes: 8
Antigüedad: 15 años, 8 meses
Puntos: 0
Respuesta: Ayuda con estructura Sistema de noticias

Mmmm no entendi muy bien tu idea, si me la podrias ampliar un poco mas.

Voy a ir al grano, yo tengo esto:


Código PHP:
<?
                $quhe 
"SELECT * FROM berita ORDER BY id DESC limit 0,5";
                
$qhe = @mysql_query($quhe,$connect) or die ("Wrong Query");
                while (
$rhe mysql_fetch_array ($qhe)) {
                echo 
"
                <table width=\"310\" align=\"center\">
                <tr><td>
                <div><b>$rhe[subjudul]</b></div>
                <div><a href=\"berita.php?view=detail&amp;id=$rhe[0]\" class=\"judul\">$rhe[judul]</a></div>
                <div class=\"date\">$rhe[date] $lcl_time</div>"
;
                    if(
$rhe[qf]==1) {
                    echo 
"
                    <a href=\"berita.php?view=detail&amp;id=$rhe[0]\"><img src=\"$urlpath/gfx-berita/$rhe[foto]\" border=\"0\" align=\"left\" width=\"120\" alt=\"\" style=\"float: left; padding: 5px\" /></a>"
;
                    } else {
                    }
                echo 
"
                $rhe[singkat]
                </td>
                </tr>
                </table>
                &nbsp;
                "
;
                        }
                
?>




Lo que hace esto es mostrarme los valores de :


TITULO, DE UNA IMAGEN, SUB TITULO, CONTENIDO CORTO.



yo por ejemplo quiero que se muestre asi una vez, y la segunda que el titulo tenga una fuente VERDANA , en 15 y la imagen que sea mas grande.


Como seria ?


Muchas gracias