
10/03/2009, 09:24
|
| | Fecha de Ingreso: enero-2009
Mensajes: 197
Antigüedad: 16 años, 2 meses Puntos: 0 | |
ok listo... asi va nada mas la funcion, y como la llamo... porque me aparece error
Call to undefined function generaAbecedario()
Tengo un archivo guardar.php y otro que es el formulario, cuando en el form oprimo listar me llama el archivo guardar donde esta lo siguiente:
case "Listar":
{
echo"<center>";
echo"<center><img src='image002.gif' width='131' height='47' /></center>";
echo"<strong>Mi empresa</strong>";
echo"<br>";
echo"<strong>xxxxxxxxxx</strong>";
echo"<br><br>";
echo"<strong>1-Visible</strong>";
echo"<br>";
echo"<strong>0-Invisible</strong>";
echo"<br>";
echo"==||> para buscar oprima ctrl+f <||==";
echo "<form action='acta.php' method='get' name='form1' target='_self'>";
echo "<table border = 2>";
echo "<tr><td><strong><center>Ver Acta</center></strong></td><td><center><strong>Cedula</center></strong></td><td><center><strong>Nombre</center></strong></td><td><center><strong>Cargo</center></strong></td><td><center><strong>Contrato</center></strong></td><td><center><strong>Email</center></strong></td><td><center><strong>Visible</center></strong></td>";
$sql="select * from contratos order by nombre";
$registros = mysql_query($sql);
$c=1;
$cantreg=mysql_num_rows($registros);
while($row2=mysql_fetch_array($registros))
{
$amod=$row2["cedula"];
//$amod=$row2["nombre"];
//<a href='mostrar_acta.php?cedula_acta=".$row["cedula"]."'title='Actar'><img src='../imagen/acta.png' border='0' alt='Acta'/></a>
echo "<tr><td><center><a href='acta.php?cedula=".$row2['cedula']."' title='Acta'><img src='Clipboard.JPG' with='25' height='29' border='0' alt='Acta'/></center></a>";
//echo "<tr><td><input type='submit' name='boton[".$row2["cedula"]."]' value='Acta'></td>";
echo "<td>"; echo $row2["cedula"];
echo "</td>";
echo "<td>"; echo $row2["nombre"];
echo "</td>";
echo "<td>"; echo $row2["cargo"];
echo "</td>";
echo "<td>"; echo $row2["contrato"];
echo "</td>";
echo "<td>"; echo $row2["email"];
echo "</td>";
echo "<td>"; echo $row2["visible"];
echo "</td></tr>";
$c++;
}
//echo "</table><br>
echo"</form>";
$sqlcon="select count(*) as email from contratos";
$sqlcont = mysql_query($sqlcon);
echo "<tr><td colspan=7 align='center'><B>TOTAL CUENTAS DE CORREO :::..".mysql_result($sqlcont,"email")."..:::</B></font></td></tr>";
echo "</table>";
echo"<form name='form1' method='post' action='contratos.php'>";
echo"<input type='submit' name='Submit' value='<< Volver'>";
echo"</form>";
echo"</center>";
break;
}
*-*-- con este codigo me lista todos los registros de la base de datos, donde coloco la funcion que me das y como la llamo?
Última edición por GatorV; 11/03/2009 a las 11:12 |