Saturday, July 30, 2011

[phpXperts] mySQL Query with PHP variable is not working

 

my query is not working. The Query is

$query=mysql_query("select SUM(payment) as totalPayment from msa_payment WHERE date BETWEEN '$from_date' AND '$to_date'");

Please help me.

__._,_.___
Recent Activity:
Visit phpXperts website at www.phpxperts.net
.

__,_._,___

No comments: