Question:

How to connect php to sybase server? ?

by Guest10769  |  earlier

0 LIKES UnLike

is this possible? if possible, any hints or advice?

here' my code:

<?php

// create connection

$connection = sybase_connect("ccbol","dba","sql");

// test connection

if (!$connection) {

echo "Couldn't make a connection!";

exit;

}

// select database

$db = sybase_select_db("ccboldb", $connection);

// test selection

if (!$db) {

echo "Couldn't select database!";

exit;

}

?>

is there a need to configure my php.ini?

 Tags:

   Report

1 ANSWERS


  1. Yes you may have to configure you php.ini

    Take a look at this: http://www.faqs.org/docs/Linux-mini/Syba...

    Bye!

Question Stats

Latest activity: earlier.
This question has 1 answers.

BECOME A GUIDE

Share your knowledge and help people by answering questions.