Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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 '17, 10:31

phbraga's gravatar image

accept rate: 0%

edited 01 Jun '17, 09:05

JBSchueler's gravatar image


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

permanent link

answered 01 Jun '17, 09:07

JBSchueler's gravatar image

accept rate: 19%

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

permanent link

answered 01 Jun '17, 14:43

Terry%20Wilkinson's gravatar image

Terry Wilkinson
accept rate: 25%

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 '17, 15:17

mckaygerhard's gravatar image

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



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "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:


question asked: 30 May '17, 10:31

question was seen: 3,785 times

last updated: 06 Jun '17, 15:18