|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-09-29 21:17 UTC] dpetrov at nchcapital dot com
[2000-12-11 21:12 UTC] joey@php.net
[2004-01-23 20:49 UTC] thekid@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Dec 02 15:00:01 2025 UTC |
I am giving the simplest example possible: sybase_connect("abc","def","jkl"); // or die("Can't connect!"); $res=sybase_query("Select * FROM Companies"); I always get this: Warning: 1 is not a valid Sybase-Link resource in ... Yet, if I replace 1st line with this: $somevariable = sybase_connect("abc","def","jkl"); // or die("Can't connect!"); then everything works just fine (even though I do not really use $somevariable anywhere). This probably means that the link it not being registered properly internally. I did not have this problem with Sybase-dblib (yet there is a big problem wirg sybase_fetch_row - it core dumps PHP/Apache).