note 28166 added to faq
| From: | supernoi at hotmail dot com | Date: | Sat, 04 Jan 2003 11:22:14 +0000 |
| Subject: | note 28166 added to faq | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-41656@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);
?>
--
http://www.php.net/manual/en/faq.php
http://master.php.net/manage/user-notes.php?action=edit+28166
http://master.php.net/manage/user-notes.php?action=delete+28166
http://master.php.net/manage/user-notes.php?action=reject+28166