freetds AT lists.ibiblio.org
Subject: FreeTDS Development Group
List archive
- From: Brian Paquin <brian.paquin AT yale.edu>
- To: TDS Development Group <freetds AT franklin.metalab.unc.edu>
- Subject: PHP to Sybase
- Date: Mon, 30 Sep 2002 13:13:38 -0400
Title: PHP to Sybase
Looking for a little assistance...
Using MacOS X.2, PHP 4.3dev, FreeTDS 0.60, and Sybase ASE
12.5.
iSQL and tSQL work great.
<? phpinfo()?> works great
But how to I connect to Sybase??
Using:
-----------------------
<?php
$conn =
sybase_connect("PATH046", "sa", "");
sybase_select_db("pubs2");
$qry =
sybase_query("select * from titles", $conn);
echo sybase_result($qry, 1,
1);
sybase_close($conn);
?>
------------------------
will not connect:
(Warning: Sybase: Unable to connect in
/Library/WebServer/Documents/testconnect.php on line
2)
Any ideas??
Brian
--
__________________________________
Brian T. Paquin
Yale University
Department of Pathology
310 Cedar Street, BML 161
New Haven, CT 06520
(203) 785-6500
brian.paquin AT yale.edu
-
PHP to Sybase,
Brian Paquin, 09/30/2002
- <Possible follow-up(s)>
- Re: PHP to Sybase, Dustin Marquess, 09/30/2002
- RE: PHP to Sybase, Lowden, James K, 09/30/2002
- Re: PHP to Sybase, Brian Bruns, 09/30/2002
Archive powered by MHonArc 2.6.24.