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?
B4X:
 $con = mysql_connect($host,$user,$pw) or die(mysql_error());
do i have to put
B4X:
 $con.end()
in order to stop the connections?
 

ronell

Well-Known Member
Licensed User
Longtime User
not sure but try this ..
PHP:
mysql_close($con);
if($con)
{
echo "disconnect successfully"
}
 
Last edited:
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…