Jump to content

Please help! PHP 5.9 Apache 2.4 nosense!


ryghar

Recommended Posts

I have this code to query a odbc database and then display a formated number. I try to isolate the problem with this.

Tha fact is that if a run it I get ERR_EMPTY_RESPONSE in Chrome. In IE works ok.

If I comment the line that said "Line 1" works ok in Chrome and if I comment "Line 2" also works.....

Whats going on?????

<?php
$odbcName='xxxxx';
$conn=odbc_connect($odbcName,'user','pass');
 
$sql="select * from abc";
 
echo $sql;
 
$rs=odbc_exec($conn,$sql);
$somefield=odbc_result($rs,"somefield"); //Line 1
 
echo number_format(0,2); //Line 2
?>
Link to comment
https://forums.phpfreaks.com/topic/286743-please-help-php-59-apache-24-nosense/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.