freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Bob Kline <bkline AT rksystems.com>
- To: TDS Development Group <freetds AT franklin.oit.unc.edu>
- Subject: Re: still not working
- Date: Tue, 4 Jul 2000 12:05:39 -0400 (EDT)
On Tue, 4 Jul 2000, Andrius Lokotash wrote:
>
> Hi all.
>
> We hawe still problems with it, ....
One more suggestion ...
> (we are using php 4)
> freetds:
> ./configure --with-tdsver=4.2
> php:
> ./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 :)
> mssql_select_db("dbname");
> $sql="select * from table";
> $res=mssql_query($sql);
> $row=mssql_fetch_row($res);
> echo $row[0];
>
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. :->}
HTH.
Bob
-
still not working,
Andrius Lokotash, 07/04/2000
- <Possible follow-up(s)>
- Re: still not working, Bob Kline, 07/04/2000
- Re: still not working, Bob Kline, 07/04/2000
- Re: still not working, Wasson, Tim, 07/05/2000
Archive powered by MHonArc 2.6.24.