Ver Mensaje Individual
  #3 (permalink)  
Antiguo 30/05/2012, 09:13
otaku1976
 
Fecha de Ingreso: mayo-2012
Mensajes: 10
Antigüedad: 12 años
Puntos: 0
Respuesta: Php html mysql

Buenos dias Helios, de antemano gracias por contestar, con respecto al comentario llevo largo tiempo buscando la forma de realizar el update por la web pero no tengo tanto conocimiento para poderlo inscrustar en la pagina similar de consulta.
Presento el codigo que he desarrolado pero se q no es suficiente para q lo pretendo.
Agradezco tu paciencia con un primerizo.
Código
<html>
<head>
<font color="blue"><H1 ALIGN = "center">MODIFICANDO TICKES</H3></font>
<body>

<!--TABLA DE CONEXION-->
<table>
<TR><TD>
<!--CONEXION A LA BASE DE DATOS-->
<?php
include("Conectarse.php");
$link=Conectarse();
$result=mysql_query("
SELECT *
FROM ticket
ORDER BY tic_numero desc
LIMIT 0,50",$link);
?>
</TD>
</TR>
</table>

<!--TABLA DE CONSULTA-->
<!--COLUMNA DE TICKET-->
<table WIDTH="100" BORDER="5" BORDERCOLOR="green">
<TR><TD>&nbsp; TICKET NUMERO</TD>
<TD>
<?PHP
while ($row=mysql_fetch_array($result))
{
printf ("<TD>&nbsp;%s</TD>",$row["tic_numero"]);
}
mysql_free_result($result);
mysql_close($link);
?>
</TD>
<TD><input type="submit" value="MODIFICAR"/></TD>
</TR>
</table>

</body>
</head>
</html>