Tema: sintaxis php
Ver Mensaje Individual
  #10 (permalink)  
Antiguo 21/08/2009, 19:32
Avatar de urgido
urgido
 
Fecha de Ingreso: febrero-2005
Mensajes: 2.351
Antigüedad: 19 años, 2 meses
Puntos: 25
Respuesta: sintaxis php

no hay problema ;)

ok haber lo he modificado y dime si te funciona.

Saludos

Código PHP:
Ver original
  1. <?
  2. //Conexion con la base
  3. mysql_connect("mysql10.000webhost.com","a7_ri","w" );
  4. mysql_select_db("a7_ln");
  5. //contraseñas y datos ficticios
  6. //Ejecutamos la sentencia SQL
  7. $result=mysql_query("select * from soporte where idUsuario ='".$_SESSION['idUsuario']."' ORDER BY idticket ASC") or die(mysql_error());
  8. //Mostramos los registros
  9. while ($row=mysql_fetch_array($result)){
  10.  echo '<tr><td><a href="verTicket.php?id='.$row["idticket"].'">'.$row["idticket"].'</a></td>';
  11.  echo '<td><div align="right" class="Estilo4">'.$row["tema"].'</td>';
  12.  echo '<td><div align="center"class="Estilo4">'.$row["fecha"].'</div></td>';
  13.  echo '<td><div align="center"class="Estilo4">'.$row["estado"].'</div></td>';
  14.  echo '<td><div align="left"class="Estilo4">'.$row["respuesta"].'</div></td></tr>';
  15. }
  16.  
  17. ?>
__________________
Hospedaje Web al mejor costo!