Ver Mensaje Individual
  #1 (permalink)  
Antiguo 04/11/2008, 14:51
victorfz
 
Fecha de Ingreso: abril-2002
Mensajes: 186
Antigüedad: 22 años
Puntos: 2
Que esta fallando?

Que esta fallando??
Gracias de antemano.
Saludos


Código PHP:
 
function ImprimirNoticias($Cabecera,$final)
{
echo $Cabecera . "texto en funcion" . $final;
global $registros;
global $fila;
$registros=mysql_query("select id,Titulo,Texto from noticias",$conexion) or
die("Problemas en el select:".mysql_error());
while ($fila=mysql_fetch_array($registros))
  {
    echo $v1;
    echo $fila['Texto'];
    echo $v2;
  }
 
}
 
 
 
 
 
 
<html>
<HEAD>
<TITLE>CMS Noticias</TITLE>
</HEAD>
<BODY>
<?php
include("funciones.php");
?>
<TABLE BORDER="1">
<tr><td>Cabecera 1</td></tr>
<?php
 
$v1
="<tr><td>";
$v2="</td></tr>";
ImprimirNoticias($v1,$v2);
 
 
 
 
 
mysql_close($conexion);
?>
 
</TABLE>
 
</BODY>
</html>