note 15087 added to function.sybase-result.php
| From: | samthorogood at yahoo dot com | Date: | Mon, 27 Aug 2001 21:24:25 +0000 |
| Subject: | note 15087 added to function.sybase-result.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17217@lists.php.net to get a copy of this message | ||
This could be an even quicker way (using the code above as a base):
$db = sybase_connect("sybtest", "sa", "users");
$id = sybase_result(sybase_query("EXEC usp_get_id @username='$username'", $db));
echo $id;
Even simpler. :)
http://www.php.net/manual/en/function.sybase-result.php