Android Question connections mysql server app jason

jchal

Active Member
Licensed User
Longtime User
hi all
what is the command in php jason that we need to put in order to stop a connection to my sql server?
Code: Copy
 $con = mysql_connect($host,$user,$pw) or die(mysql_error());
do i have to put
Code: Copy
 $con.end()
in order to stop the connections?
 
not sure but try this ..
PHP: Copy
mysql_close($con);
if($con)
{
echo "disconnect successfully"
}
 
Last edited:
Upvote 0
Back
Top