calculate working hour

calculate working hour

why echo not come out?

<html><body>
<form action="<?php $_SERVER['PHP_SELF'];?>" method="post">
Working hour : <input name="workout" type="text"/><input name="submit1" type="submit" value="submit"/>
<?php
if (isset($_POST['submit1']))
{
$jamBkerja= $_POST['jamBkerja'];
function gaji($jamBkerja)
{
if(($jamBkerja<=20)&&($jamBkerja>0))
{
$total=$jamBkerja*3.5;
return $total;
echo "<br>Your salary is : RM ".gaji($jamBkerja);
}
}
?>
</form>
</body></html>
View Answers









Related Tutorials/Questions & Answers:
calculate working hour
calculate working hour  why echo not come out? <html><body> <form action="<?php $_SERVER['PHP_SELF'];?>" method="post"> Working hour : <input name="workout" type="text"/><input name="submit1
about getting the hour time
about getting the hour time  if i want to say, if the hour shows before noon, display message "good morning" and if otherwise, display "good afternoon" and so on..and im using tag..the problem is i dont know the code for Good
Advertisements
calculate the time ..
calculate the time ..  [CODE] Elapsed Time Example...="button" value="Calculate Difference" onclick="calculateTimeElapsed();" />... 2 hour and 3 hours whatever...when 10 minutes remaining one popup menu come
javascript add hour to time
javascript add hour to time  I want to add numbers of hours to time. How can I do this using javascript?   <html> <head> <... to convert the value in integer.Simple add hours into the current hour by writing
ModuleNotFoundError: No module named 'api_hour'
ModuleNotFoundError: No module named 'api_hour'  Hi, My Python..._hour' How to remove the ModuleNotFoundError: No module named 'api_hour... to install padas library. You can install api_hour python with following
calculate average
calculate average  Question 2 cont.d Test case c: home works/labs 10 9 9 9 10 10 9 9 10 10 9 9 10 test scores: 65 89 note, the program should work with different numbers of home works/labs
UITapgesturerecognizer not working
UITapgesturerecognizer not working  uitapgesturerecognizer not working
ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour'  ...: No module named 'odoo10-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'  ...: No module named 'odoo11-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'  ...: No module named 'odoo11-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour'  ...: No module named 'odoo12-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour'  ...: No module named 'odoo12-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo12-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour'  ...: No module named 'odoo10-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo10-addon-hr-holidays-hour' error
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'
ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour'  ...: No module named 'odoo11-addon-hr-holidays-hour' How to remove the ModuleNotFoundError: No module named 'odoo11-addon-hr-holidays-hour' error
calculate average
calculate average   Design and write a java program to determine all three digit numbers such that the sum of the cubes of the digits is equal... and write a program and calculate your final average in this course. The details
calculate difference between two dates
calculate difference between two dates  hi, I was actually working on to calculate the number of days between two dates of dd/mm/yyyy format using javascript. can anyone suggest me how to work it outin calculating
How to add one hour in php date?
How to add one hour in php date?  I have a date variable in PHP and I want to add one hour to it. What is the code for adding one hour to the PHP... convert the 60 minute (one hour) into time. Then add the both to get and convert
calculate size of array
calculate size of array  Is it possible to calculate the size of array using pointers in Java
calculate reward points.
calculate reward points.  How to calculate reward points in a multiplex automation system
ModuleNotFoundError: No module named 'calculate'
ModuleNotFoundError: No module named 'calculate'  Hi, My Python... 'calculate' How to remove the ModuleNotFoundError: No module named 'calculate' error? Thanks   Hi, In your python environment you
htpasswd working
htpasswd working   hii, What does htpasswd do?   hello,ADS_TO_REPLACE_1 htpasswd creates a new user in a specified group, and asks to specify a password for that user
Code to calculate hair density
Code to calculate hair density  Hello, Would you please give me a code to calculate the hair density on scalp from image in java
calculate sum of individual digit
calculate sum of individual digit   How calculate product of first and last digit of indiviual numbers Like a=43278 4*8=32
hibernate.archive.autodetection not working
hibernate.archive.autodetection not working  Hi, What is the use of hibernate.archive.autodetection? I am trying to use in my project but its not working. How to resolve hibernate.archive.autodetection not working issue
Datagrid not working
Datagrid not working  The code here is working fine, apart from the fact that that I'm using netbeans 6.5 and the servlet v2.5 and struts 1.1.... working. please help me out
calculate sum of individual digit
calculate sum of individual digit  Hi How to calculate product of first snd last digit of indiviual digit Like Num=23456 S=2*6
PHP Date add 1 hour
In the following example code we are showing how you can add one hour... to add one hour to a date object $todayDate = date("Y-m-d g:i a"... into timeADS_TO_REPLACE_2 //echo "<br>".$currentTime; //Add one hour
Hour Format Example
Hour Format Example       This example shows how to format hour using Format class. In this program we use a pattern of special characters to time format. Description
How to calculate attending hours?
How to calculate attending hours?  I need to calculate attending hours of a employee in a day in my project to make their monthly salary . By using work starting time and ending time. How should I do it using Date class? Or any
How to calculate days in a year
How to calculate days in a year  Hi, How to calculate no of days in a year? I want a program that calculates no of days in a year by specifying year a parameter. Thanks   Hi, Please check the thread example
Why this is not working...?
Why this is not working...?  import java.util.*; public class Family { int size_of_family=0; public Person[] members=new Person[size_of_family]; Person d = new Person(); public Family (int size_of_family){ members = new
How to calculate the average in Hibernate?
How to calculate the average in Hibernate?  Hi, I have to calculate the average in Hibernate. How to calculate the average in Hibernate? Thanks   Hi, You can use the project in Hibernate. Here is the example code
Update not working in hibernate.
Update not working in hibernate.  Update not working in hibernate
Comparing arrays not working correctly?
Comparing arrays not working correctly?  Comparing arrays not working correctly
Calculate factorial of a number.
Calculate factorial of a number.  How to calculate factorial of a given number?   import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Factorial { public static
Nitobi Grid is not working in IE10/IE11
Nitobi Grid is not working in IE10/IE11  Nitobi grid is working in IE8, but not working in IE10/IE11. we are using above two javascript files to open the grid
Calculate sum and Average in java
Calculate sum and Average in java  How to calculate sum and average in java program?   Example:- import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class AvarageTest
calculate a list of products
calculate a list of products  Hi can you help me with this java program. This program should allow the user to order from a small catalogue of three items displayed on the screen, then calculate the user's final bill, including
calculate total hours by start time and end time in javascript - Ajax
calculate total hours by start time and end time in javascript  hi, i... my doubts. how to calculate total hours by using start and end time field....total hours another textfiled in that i have to display total hour result. pls
ModuleNotFoundError: No module named 'date_calculate'
ModuleNotFoundError: No module named 'date_calculate'  Hi, My... named 'date_calculate' How to remove the ModuleNotFoundError: No module named 'date_calculate' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'latimes-calculate'
ModuleNotFoundError: No module named 'latimes-calculate'  Hi, My... named 'latimes-calculate' How to remove the ModuleNotFoundError: No module named 'latimes-calculate' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'latimes-calculate'
ModuleNotFoundError: No module named 'latimes-calculate'  Hi, My... named 'latimes-calculate' How to remove the ModuleNotFoundError: No module named 'latimes-calculate' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'latimes-calculate'
ModuleNotFoundError: No module named 'latimes-calculate'  Hi, My... named 'latimes-calculate' How to remove the ModuleNotFoundError: No module named 'latimes-calculate' error? Thanks   Hi, In your
ModuleNotFoundError: No module named 'ybc-calculate'
ModuleNotFoundError: No module named 'ybc-calculate'  Hi, My... 'ybc-calculate' How to remove the ModuleNotFoundError: No module named 'ybc-calculate' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'calculate-distributions'
ModuleNotFoundError: No module named 'calculate-distributions'  Hi...: No module named 'calculate-distributions' How to remove the ModuleNotFoundError: No module named 'calculate-distributions' error? Thanks   
ModuleNotFoundError: No module named 'calculate-expression'
ModuleNotFoundError: No module named 'calculate-expression'  Hi...: No module named 'calculate-expression' How to remove the ModuleNotFoundError: No module named 'calculate-expression' error? Thanks   Hi
ModuleNotFoundError: No module named 'calculate_lu'
ModuleNotFoundError: No module named 'calculate_lu'  Hi, My Python... 'calculate_lu' How to remove the ModuleNotFoundError: No module named 'calculate_lu' error? Thanks   Hi, In your python
ModuleNotFoundError: No module named 'calculate-retention'
ModuleNotFoundError: No module named 'calculate-retention'  Hi, My... named 'calculate-retention' How to remove the ModuleNotFoundError: No module named 'calculate-retention' error? Thanks   Hi
ModuleNotFoundError: No module named 'date_calculate'
ModuleNotFoundError: No module named 'date_calculate'  Hi, My... named 'date_calculate' How to remove the ModuleNotFoundError: No module named 'date_calculate' error? Thanks   Hi, In your python
Focus method not working in firefox
Focus method not working in firefox  object.focus() is not working in firefox and chrome the element is not focused what was the problem

Ads