note 28166 rejected from faq by nicos
| From: | nicos@php.net | Date: | Sat, 04 Jan 2003 11:29:18 +0000 |
| Subject: | note 28166 rejected from faq by nicos | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41657@lists.php.net to get a copy of this message | ||
i have problem development web by PHP for windows.
i can run function ifx_connect() for connect informix database.
but i can't run function ifx_query().it die and display "can't execute sql".
please suggest me,thankyou.
my computer : pentium4 1.7GHZ
os : windows 98
webserver : apache2.0.43 for win98
web tool : PHP4.3 for window98
database : informix for unix
server : unix
i already open extensions php_ifx.dll in php.ini.
i already install informix client sdk and setnet32.
source code :
<?
$connection = ifx_connect("hrdb@glodb1","test","1234")
or die("can't connect server");
$sql = "select namevendor from vendor";
$sql_result = ifx_query($sql,$connection) or die("can't execute sql");
ifx_htmltbl_result($sql_result,"border=1");
ifx_free_result($sql_result);
ifx_close($connection);
?>