still not working
bkline at rksystems.com
Tue Jul 4 12:05:39 EDT 2000
On Tue, 4 Jul 2000, Andrius Lokotash wrote:
> Hi all.
> We hawe still problems with it, ....
One more suggestion ...
> (we are using php 4)
> ./configure --with-tdsver=4.2
> ./configure --with-mysql --with-apache=
> (path) --enable-sigchild --enable-ttf --with-sybase=/usr/local/freetds/
> php is compiled with apache (both from sources)
> script part: (test.php)
> mssql_connect("hostip","username","password"); as usual :)
> $sql="select * from table";
> echo $row;
You should match up the functions you're using with the configuration
you specified at build time. You're currently invoking mssql_xxx()
functions but you built with mysql and sybase support. I would guess
that it will be more likely to work if you invoke the sybase_xxx()
functions. NB: mysql and mssql are *not* the same thing. :->}
More information about the FreeTDS