I have the following code to search the stores by name and and order by transaction date by Asc which works perfect. My questions is how to performe a subtraction by row (checkamount-redeposited-replacement-paidcash = balance) and totalize by columns (total checkamount, total redeposited, total replacement, total paidcash and total balance) by store name and by all stores using a drop down combo box. See an exemplo: Bounced checks report! From Main Office 2012-01-01 To 2012-09-20 Check ID Transaction Date Store Name Check Date Date Cashed Date Return Check Number Maker Name Payee Name Bank Name Check Amount Return Reason Date …
|+0 forum 14|
Hi I'm been trying to enter numbers into the <input> so I can calculate **Add** - **Subtract** - **Divide** - **Multiply**. This is the equations: <?php $number = 20; $number += 10; print "\$number += 10;<br /> The answer is <b>$number</b>. <br /><br />"; $number -= 12; print "\$number -= 12;<br /> The answer is <b>$number</b>. <br /><br />"; $number *= 14; print "\$number *= 14;<br /> The answer is <b>$number</b>. <br /><br />"; $number%= 16; print "\$number %= 16;<br /> The answer is <b>$number</b>. <br /><br />"; ?> This is my **form**: <html> <body> <form action="number.php" method="get"> Enter number: …
|+0 forum 8|
Hello Every One ! I m working on a software , i have one field name expiry_Date , now i want to make an query which subtract the current date from the expiry_date and give answer in no.of days , i use getdate() for current date , can any one help me:( Regards M.Waqas Aslam
|+0 forum 2|
hi, i need to subtract one date form the other and take the difference in minutes or seconds.. i'm getting the first date from the data base in 'Y-m-d H:i:s' format and second date is the current date (same format). and i want to know the difference between them in minutes and seconds. thanx!.
|+1 forum 4|