I have a web page using php and sqlanywhere. My connection looks good and I can query with a connection object

$_SESSION['WEBCONN'] = sqlanywhere_connect("eng=mydb;uid=me;pwd=cryptic;dbn=sybase;");
$tRES = sqlanywhere_query($_SESSION['WEBCONN'],"SELECT STUFF FROM MYTABLE WHERE THISANDTHAT = TRUE");
$tROW = sqlanywhere_fetch_array($tRES);

The problem is that I do not have a way to know this connection exists...

sa_conn_info() does not show it.

I am using anywhere 11.

asked 10 May '13, 09:55

Paladin1966's gravatar image

Paladin1966
1111
accept rate: 0%

edited 10 May '13, 10:06

Mark%20Culp's gravatar image

Mark Culp
22.5k9129264

Be the first one to answer this question!
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:

×137
×124
×46

question asked: 10 May '13, 09:55

question was seen: 771 times

last updated: 10 May '13, 10:06