Add another page asking the user to CONFIRM the amount that you think
you got.
On Thu, August 2, 2007 3:07 pm, Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16
name=payment_amount
This is all
At 12:57 AM +0200 8/3/07, M. Sokolewicz wrote:
Now, as mentioned before: You have to decide for yourself if your
application is the correct place to check for the stupidity of your
users.
Check for the ignorance of your users -- there's a difference.
Cheers,
tedd
--
---
On 8/3/07, tedd [EMAIL PROTECTED] wrote:
At 12:57 AM +0200 8/3/07, M. Sokolewicz wrote:
Now, as mentioned before: You have to decide for yourself if your
application is the correct place to check for the stupidity of your
users.
Check for the ignorance of your users -- there's a difference.
Thanks for all of the suggestions. While I agree that I shouldn't have to
write a check for stupid users, the supervisor of the employees that will be
using this application is VERY insistent! I am going to try the Javascript
route...too bad the javascript forums are not as helpful as all of you!
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it can. BUT, the
problem is that I need to make sure the user didn't
On 8/2/07, Dan Shirah [EMAIL PROTECTED] wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it can. BUT, the
problem is that I need
On 8/2/07, Dan Shirah [EMAIL PROTECTED] wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it can. BUT, the
problem is that I need
On 8/2/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16
name=payment_amount
This is all fine and dandy and works as generically as it can.
On 8/2/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it can.
Tijnema wrote:
On 8/2/07, Brad Bonkoski [EMAIL PROTECTED] wrote:
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the payment amount:
input type=Text value= size=20 maxlength=16 name=payment_amount
This is all fine and dandy and works as generically as it
Normally it truncates the leading zeros if there are any. I will try your
method when I get a moment. got switched on project.
Rory Browne [EMAIL PROTECTED] wrote in message
news:[EMAIL PROTECTED]
For the most part you can simply treat them as strings. What is
happening that shouldn't be
Just as a note I had a bit to test and your version works
$str = $c$a$b;
does return 012
all I was getting was 12
after looking at the manual I see that PHP was evaluating each piece as a
number so it expected that the built variable would be a number.
Rory Browne [EMAIL PROTECTED] wrote in
For the most part you can simply treat them as strings. What is
happening that shouldn't be happening, or what should be happening,
but isn't?
let us say
$a = 1;
$b = 2;
$c = 0;
$str_a = (string)$a;
$str_b = $b
I would like to be able to
$str = $c.$a.$b;
Does that not work? What happens
On Jul 11, 2003, Pete Morganic claimed that:
|Anyone know of a class or function that converts numbers to readable text
|
|eg inputing the number would output text as in
|
|120 = one hundred and twenty
|3600 = three thousand six hundred
|
|
|tia
|
|pete
|
How about
On Sun, 23 Mar 2003 14:09:26 +0100, you wrote:
And please note that I've seen that it happens only when
$row_Recordset1['Prezzo'] 1000
What's the largest number you can get from the table? Exactly? 1000 is
suspiciously close to 1024. Is it possible that your table is using a
smaller data type
Emanuele,
Some parts of the world use the coma as the separator between whole numbers
and decimals (e.g. Germany France) and php is formating the number
according to this style. I surmise that the numbers stored in your database
have been stored with comas separating the thousands from the
Hi, I'm using a mysql connection to dinamically fill a table with
descriptions, prices, and so on...
But when the script takes the price of a Plasma Monitor, that costs
8025.00
$, it outputs only 8,00.
I recall it by typing :
echo $row_Recordset1['Prezzo']
And please note that I've
I just found the answer
-Original Message-
From: cj [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 11:07 AM
To: Php-List (E-mail)
Subject: [PHP] numbers
G'day all
I have a calculation which gives me a number ie 6976587.4169922
This number is works outed by dividing a
Which, for the list, can be number_format(), among other things.
Brian
-Original Message-
From: cj [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 21, 2003 5:18 PM
To: Php-List (E-mail)
Subject: RE: [PHP] numbers
I just found the answer
-Original Message-
From
I used the floor() function
-Original Message-
From: Brian T. Allen [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 22 January 2003 11:49 AM
To: [EMAIL PROTECTED]; 'Php-List (E-mail)'
Subject: RE: [PHP] numbers
Which, for the list, can be number_format(), among other things.
Brian
you could use: printf(%02d, ++$Num);
or if you want to put it back into $Num, use the sprintf() version
-Original Message-
From: vins [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 25, 2002 10:44 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Numbers with leading zero...
Hi.
I've got this
Hi,
Thursday, July 25, 2002, 10:44:00 AM, you wrote:
v Hi.
v I've got this script that needs to take for examle 02 and increase that to
v 03.
v but when i run the script $Num++; it changes 03 to 3;
v is there not a function that adds leading zeros onto a string ?
have a look at the
22 matches
Mail list logo