Member Avatar
I am trying to display scores by what the user is requesting either 'Average','Total',or 'Both'. The following is my code for the loop_tester.php and below that is the code for my index.php. I am trying to add a switch statement to the index.php file that will sets values for only …
by dlmagers in Web Development ()
Member Avatar
Create a form that accepts scores from the user, displays the total, count, and average of the scores, and displays a dialog box that lists the scores.This application should check the number entered by the user to make sure it is a valid integer from 0 to 100. If a …
by jjones0150 -3 in Software Development ()
Member Avatar
I have a cart that shows product selected and the quantity and the price for each. What I am wondering is how to display the price for each as well as the total for all? Here is my code...Is there a way to do this in the public string Display()...what …
by GingerDontCare in Software Development ()
Member Avatar
hello sir, i have php code to display the following details. Total size : 1.9 MB No. of files : 15 No. of directories : 2 but i need to do this by database because i am displaying links from database. so how it is possible. any suggestions please......... thank …
by rajendher in Web Development ()
Member Avatar
i have 2 database listview1(from tbl_storage) listview2(fromsales) so i want my listview items and subitems to be increment or be loop correct me if im wrong with that. sellingprice and Qty.(Quantity) ex. itemno | name | qty| price | total | 1 | a | 1 | 100 | 100 …
by mokushirokuxen in Software Development ()
Member Avatar
Friends, Please help me I have a form having 3 text boxes of data type number one text box for display- also number type one command button I want to add the figures of the three text boxes my code is as below Private Sub Command1_Click() Dim Total As Long …
by mavtcr in Software Development ()
Member Avatar
Does anybody know how to make a program that calculates your work hours? I tried this code, but it's going all wrong. I know I'm doing plenty of mistakes here. I just don't know what exactly. And no, I'm not supposed to work it in a different program like C#.
by ragnacrap in Software Development ()
Member Avatar
hello guys i have created the below codes. the first one is the mysql select statement which works fine when i echo. the second one is an html/css table i created. i am stuck to the point where i can merge both of them so that i get a nice …
by sanbhu2105 in Web Development ()
Member Avatar
how do add the total of items in listview column and display the result in a text box
by macphill in Software Development ()
Member Avatar
I've been getting problems with my formula to total the deposit and price. I'm getting and error on this line Here's more but only an error with the total.
by rexmatthew in Web Development ()
Member Avatar
Hi, I'm facing a problem which is can't total up all the subtotal amount. Everytime I add a new product to cart, the total only show the last product that I added into cart. Not only that, when I update the quantity of other product, the total still remain the …
by devianleong in Web Development ()
Member Avatar
Hi, I'm facing a problem which is can't total up all the subtotal amount. Everytime I add a new product to cart, the total only show the last product that I added into cart. Not only that, when I update the quantity of other product, the total still remain the …
by devianleong in Web Development ()
Member Avatar
Hello again. I am trying to create a simple code that can compute the average of a set of numbers read in using a scanner. The loop occurs but it won't end. I wanted the code to work like this: every time I enter a number that is not negative …
by jonny93 in Software Development ()
Member Avatar
Please tell me why it gives me always zero value? <?php $total =0; mysql_connect ("host", "usr", "paswd") or die ('Error: ' .mysql_error()); mysql_select_db ("dbname"); function getTotalLeg($memid,$leg){ $sql="select $leg from where ='$memid' "; $res=mysql_query($sql); $row=mysql_fetch_array($res); global $total; $total = $total+mysql_num_rows($res); if($row['$leg']!=''){ getTotalLeg ($row['$leg'],'lname'); getTotalLeg ($row['$lrg'],'rname'); } return $total; } echo $total; …
by dushtu.bor in Web Development ()
Member Avatar
I am writing an application which calculates profit from 3 column values. The SQL is as follows in vb dataset designer; SELECT ID, Sale - (Weight * 20) * (Rate -5) AS Profit From AgencyRegister WHERE (DatePart('yyyy', ArrivalDate) = ?) ORDER BY ArrivalDate I want to add another column of …
by chasadjee in Software Development ()
Member Avatar
The issues with this program are: File: D:\Unit 3 Data Type, Objects, Assignments\CreditCardBill.java [line: 20] Error: Type mismatch: cannot convert from double to int File: D:\Unit 3 Data Type, Objects, Assignments\CreditCardBill.java [line: 21] Error: Type mismatch: cannot convert from double to int EDIT: I have tried type casting, but I …
by JavaPrograms in Software Development ()
Member Avatar
the question asked me make a program that would find opens an read a txt file and calculate or display the following. - the number of numbers - sum of all the numbers in the file (running total) -average of numbers in file the .txt file just has 100,200,300,400,500,600,700 each …
by Otter992 in Software Development ()
Member Avatar
hh.. how can i get the value accumulated from the date i select from datetimepicker1 to datetimepicker2 in vb.net and mysql? the value here refers to the daily sales and i need to find the total sales between the range dates that i choose.. please help me..as im beginner and …
by abc_123abc in Software Development ()
Member Avatar
Hi Friends. i am working on my internal work. i am having n dynamic rows, Each and every row contain total. i want to sum all the rows total. i have attached the screen shot for the reference
by rpv_sen 59 in Web Development ()
Member Avatar
HI Sorry for opening the thread, i have some issue please help me in solving the below one Javascript <script language="javascript"> function line(elem,amt,res_elem) { var qty=document.getElementById(elem).value; var tot_amt=qtyamt; //document.getElementById(res_elem).value = tot_amt; document.getElementById(res_elem).value = Math.round(tot_amt100)/100; } </script> PHP <?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' order …
by rpv_sen 59 in Web Development ()
Member Avatar
im having this problem when i try to add m + 1 = k; it says this-lvalue required as left operand of assignment in my compiler, please help. dont mind the unfinished code. include <iostream> using namespace std; int main() { }
by Mayank23 in Software Development ()
Member Avatar
My JavaScript code works in all browsers except ie, I am not sure why. Any help is appreciated, Thank you. Website is Javascript File JavaScript Code function updatecost1() { <select name="cpule" id="cpule" onchange="updatecost1();"> <option name="coreDuo27" value="Core 2 Duo 2.7" onchange="updatecost1();">Intel Core 2 Duo 2.7Ghz</option> <option name="coreQuad26" value="Core 2 Qaud 2.6" …
by pgmarco in Web Development ()
Member Avatar
Im attempting to write a program that will accept seperate sales amounts from the user and then will total the sales and display both the total sales and the sales tax from the sales at the programs end, if you can provide any help or insight i would greatly appreciate …
by jeremy62 in Software Development ()
Member Avatar
I'm trying to write a program that will accept input from the user as sales, then it will total the sales and display both the total and the sales tax (total multiplied by .0825 include <stdio.h> include <stdlib.h> define SIZE 9 int main(void) { /initialize */ int a[SIZE]= {0}; int …
by jvill in Software Development ()