![]() |
![]() |
| Paypal | FTP | CCD | Buscar | Trucos | Trabajo | Foros |
|
|||||||
| Registrarse | FAQ | Miembros | Calendario | Guía de estilo | Buscar | Temas de Hoy | Marcar Foros Como Leídos |
|
|
Herramientas | Buscar en Tema | Desplegado |
|
#5
|
||||
|
||||
|
PERSEVERAS Y TRIUNFARAS!!!
![]() hola Amigasos lo he logrado he utlizado el siguiente codigo en PHP para visualizar datos <META content="text/html; charset=windows-1256" http-equiv=Content-Type> <? $conexao = ibase_connect("127.0.0.1:c:/mis webs/interbase/tutorial.gdb","SYSDBA","masterkey"); $sql = "select * from cadastro"; $r = ibase_query($conexao, $sql); ?> <html> <title>Mostrar</title> <body> <table width="96%" border="1"> <tr> <td width="46%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Código</strong></font></td> <td width="54%"><font size="2" face="Verdana, Arial, Helvetica, sans-serif"><strong>Descricao</strong></font></td> </tr> </table> <table width="96%" border="1"> <? while($row = ibase_fetch_object($r)) { ?> <tr> <td width="46%"><? print $row->CODIGO; ?></td> <td width="54%"><? print $row->DESCRICAO; ?></td> </tr> <? } ibase_close($conexao); ?> </table> </body> </html> con lo cual al tener un caracter raro como ser Ö lo convierte a su letra respectiva en Arabe. El secreto esta en la línea <META content="text/html; charset=windows-1256" http-equiv=Content-Type> Última edición por acertij022 fecha: 28-11-2003 a las 15:40:49. |
| Herramientas | Buscar en Tema |
| Desplegado | |
|
|
|