Try this...
$sql = "select SUM(payment) as totalPayment from msa_payment WHERE date BETWEEN {$from_date} AND {$to_date}"
$query=mysql_query($sql);
On Sat, Jul 30, 2011 at 4:41 PM, azhar <eng.azharul@gmail.com> wrote:
$query=mysql_query("select SUM(payment) as totalPayment from msa_payment WHERE date BETWEEN '$from_date' AND '$to_date'");
--
:: Md.Shoriful Islam Ronju ::
http://blog.smronju.com
__._,_.___
Visit phpXperts website at www.phpxperts.net
.
__,_._,___
No comments:
Post a Comment