Hi Andy!
I have been waiting for your reply on how to calculate the result of fee. Here is my code, Is it OK for me type in the retrive(output) page? It still can't work. Which step I did wrong? Does cursor support MySQL?
<? PHP
$Host = "192.165.1.1";
$User = "xxxx";
$password = "xxxx";
$DBName = "XXXX";
$TableName = "XXXX";
$Link = mysql_connect($Host, $User, $Password);
$Query = "Select amount from $TableName";
MySQL_select_db($DBName, $Link);
$Result = MySQL_db_query($DBName, $Query, $Link);
Class PaymentAccount
{
var $balance = 50000.00;
function CheckingAccount($amount)
{ $this->balance = $amount;}
function clear_check($amount)
{$this->balance=$this->balance-$amount;}
function get_balance()
{
return $this->balance;
}
}
?>
I have been waiting for your reply on how to calculate the result of fee. Here is my code, Is it OK for me type in the retrive(output) page? It still can't work. Which step I did wrong? Does cursor support MySQL?
<? PHP
$Host = "192.165.1.1";
$User = "xxxx";
$password = "xxxx";
$DBName = "XXXX";
$TableName = "XXXX";
$Link = mysql_connect($Host, $User, $Password);
$Query = "Select amount from $TableName";
MySQL_select_db($DBName, $Link);
$Result = MySQL_db_query($DBName, $Query, $Link);
Class PaymentAccount
{
var $balance = 50000.00;
function CheckingAccount($amount)
{ $this->balance = $amount;}
function clear_check($amount)
{$this->balance=$this->balance-$amount;}
function get_balance()
{
return $this->balance;
}
}
?>