note 28165 rejected from faq by philip
| From: | philip@php.net | Date: | Sat, 04 Jan 2003 18:50:13 +0000 |
| Subject: | note 28165 rejected from faq by philip | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41663@lists.php.net to get a copy of this message | ||
i develop 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);
?>