5 is not a valid MySQL-Link resourc

Feed by Cat-

All the mysql_* functions will assume "the last connection you opened" if you don't specify a connection. This is useful because you don't have to keep track of it like you do for other libraries. Most likely here you are overwriting the variable $dbh somewhere. Personally I'd use a variable like $_connection if I use one at all.

So just mysql_close() will be enough to close the connection. You need only worry about this kind of thing if you are handling more than one connection at a time.

www.fastread.in

Fastread.in Author Manisha Dubey JhaDear Reader, My name is Manisha Dubey Jha. I have been blogging for 3 years and through the Fast Read.in I have been giving important educational content as far as possible to the reader. Hope you like everyone, please share your classmate too. As a literature person, I am very passionate about reading and participating in my thoughts on paper. So what is better than adopting writing as a profession? With over three years of experience in the given area, I am making an online reputation for my clients. If any mistakes or wrong in the article, please suggest us @ [email protected]

Read More.


Go Back