4 Solved Topics
Remove Filter
|
|
I've been getting problems with my formula to total the deposit and price. I'm getting and error on this line $total += $total + $deposit['deposit'] * $pamount['price_status']; Here's more but only an error with the total. $prod_refid=$_REQUEST['refid']; $productsql="select * from products where prod_refid='$prod_refid'"; $resquery = @mysql_query($productsql); $resproduct_fetch=mysql_fetch_array($resquery); $image_path="products/"; $thumb_path="products/thumb/"; $product_id=$resproduct_fetch['product_id']; $prod_refid=$resproduct_fetch['prod_refid']; $product_image=$resproduct_fetch['product_image']; $product_name=$resproduct_fetch['product_name']; $prod_country=$resproduct_fetch['prod_country']; $price_range=$resproduct_fetch['price_range']; $pamount … |
|
Hi Friends I am using dynamic text box, i want to calculate the amount from value of rate in the text box and qty Pls help me how to solve it... [CODE]<?php include("config.php"); ?> <script type=text/javascript> function multiply(){ a = document.getElementById("rate").value; b = document.getElementById("qty").value; c = a*b; amt = alert(c); … |
|
HI Sorry for opening the thread, i have some issue please help me in solving the below one [B]Javascript[/B] [CODE]<script language="javascript"> function line(elem,amt,res_elem) { var qty=document.getElementById(elem).value; var tot_amt=qty*amt; //document.getElementById(res_elem).value = tot_amt; document.getElementById(res_elem).value = Math.round(tot_amt*100)/100; } </script>[/CODE] PHP [CODE] <?php $cate_code=$_GET['ct']; $civrform=$_GET['vrform']; $site=$_GET['site_name']; $desr="select * from site_rate where category_code='$cate_code' AND sitename='$site' … |
|
Hello! I have more or less zero knowledge about coding in PHP. The most I've done is includes, to help me maintaining my sites more efficiently. I hope I will not offend anyone with this question. Anyhow, towards my issue. I have one table containing several fields, with information such … |
The End.