Hi,
I have several systems using php with my sybase sqlanywere DB, but I allways use the old connection string/method. 
Ex. $con = sasql_connect( "UID=DBA;PWD=xxx;Host=BDserver;ServerName=DB");
I am trying to migrate all my systems to Object Oriented, and cound not find information about how to connect to my sybase DB with OO aproach. 
Like ($conn = new mysqli($servername, $username, $password);)

asked 30 May, 10:31

phbraga's gravatar image

phbraga
26346
accept rate: 0%

edited 01 Jun, 09:05

JBSchueler's gravatar image

JBSchueler
2.1k2837


I am fairly certain that the object-oriented methods are not supported by the SQL Anywhere driver.

permanent link

answered 01 Jun, 09:07

JBSchueler's gravatar image

JBSchueler
2.1k2837
accept rate: 15%

I haven't tried it myself, but a similar question was answered here.

permanent link

answered 01 Jun, 14:43

Terry%20Wilkinson's gravatar image

Terry Wilkinson
511192336
accept rate: 28%

the opensource FreeTDS driver module comes with support object orient using php odbc, the sybase are stalled in MS IIS focused

permanent link

answered 06 Jun, 15:17

mckaygerhard's gravatar image

mckaygerhard
1427
accept rate: 12%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×47
×8

question asked: 30 May, 10:31

question was seen: 499 times

last updated: 06 Jun, 15:18