note 15087 deleted from function.sybase-result by felipe

[email protected]
Newsgroups php.notes
Message-ID <[email protected]>
Note Submitter: samthorogood at yahoo dot com 

----

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. :)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.