using class

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

jaylin
Forum Commoner
Posts: 68
Joined: Fri Nov 18, 2005 4:44 am

Post by jaylin »

thz. btw, how can i check the connection state and how can i close a connection?
n00b Saibot wrote:aha... just as Jenk said (Good work ,Jenk ;))

add <?php ?> tags in mysql.php
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

check the connection :arrow: if ($link === FALSE) {
close the connection :arrow: mysql_close($link);
Post Reply