I'm trying to connect to a Sybase database, using PHP.
I'm not getting any syntax errors, or any errors for that matter.
It appears as if I might be connecting to the database, but nothing else seems to work, after the initial connection.
Once the connection is made (if it's really made), none of my debugging statements, echo / print, etc. work...
If I put in an erroneous sybase_connect statement, or an invalid database, I get an error...
But, when the database is correct, I just get a blank webpage... Or it's blank, from the point where the database connection is made... (Anything before the connection is displayed as it's supposed to be, on the webpage...)
Here's an excerpt from my PHP script:
<?php
$SERVER = 'VHost_in_interfaces_file';
$UID = 'user';
$PWD = 'user_passwd';
print "$SERVER $UID $PWD";
@$db = sybase_connect($SERVER,$UID,$PWD);
$query = "select name from sysobjects where type = 'U'";
@$result = sybase_query($query,$db);
print "result equals: $result";
?>
NOTE: All output seems to stop, right after the "@$db =" line...
Any help would be greatly appreciated...
TIA
JoeF
I'm not getting any syntax errors, or any errors for that matter.
It appears as if I might be connecting to the database, but nothing else seems to work, after the initial connection.
Once the connection is made (if it's really made), none of my debugging statements, echo / print, etc. work...
If I put in an erroneous sybase_connect statement, or an invalid database, I get an error...
But, when the database is correct, I just get a blank webpage... Or it's blank, from the point where the database connection is made... (Anything before the connection is displayed as it's supposed to be, on the webpage...)
Here's an excerpt from my PHP script:
<?php
$SERVER = 'VHost_in_interfaces_file';
$UID = 'user';
$PWD = 'user_passwd';
print "$SERVER $UID $PWD";
@$db = sybase_connect($SERVER,$UID,$PWD);
$query = "select name from sysobjects where type = 'U'";
@$result = sybase_query($query,$db);
print "result equals: $result";
?>
NOTE: All output seems to stop, right after the "@$db =" line...
Any help would be greatly appreciated...
TIA
JoeF