Sql with Sybase variables @@
| From: | GIS) | Date: | Thu, 01 Nov 2001 09:01:13 +0000 |
| Subject: | Sql with Sybase variables @@ | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-13902@lists.php.net to get a copy of this message | ||
Hi,
Is the following possible:
$conn = sybase_connect("SERVER,"login","passwd");
$sql = "select @@version";
$result = sybase_query($sql,$conn);
while($row = sybase_query($result)) {
$r = $row[0];
echo "$r";
}
I tried but get a strange error message that I dont understand, what would be the correct syntax?
Regards
Richard Hillström