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.

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

phbraga's gravatar image

phbraga
41779
accept rate: 0%

edited 01 Jun '17, 09:05

JBSchueler's gravatar image

JBSchueler
3.3k41564


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

JBSchueler
3.3k41564
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
746303548
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

mckaygerhard
13127
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:

×70
×10

question asked: 30 May '17, 10:31

question was seen: 3,784 times

last updated: 06 Jun '17, 15:18