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:
>
> name="payment_amount">
>
> This is all fine and dandy and works as generi
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!
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
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
--
---
http://sperling.c
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:
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
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:
> >
> >
> >
> > This is all fine and dandy and works as generically as it can. BUT, the
> > problem is that I need to make sure t
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:
> >
> > name="payment_amount">
> >
> > This is all fine and dandy and works as generically as it can. BUT, the
> > problem is 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:
>
>
>
> 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 fat finger any of the
>
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:
>
>
>
> 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 fat finger any of the
>
Dan Shirah wrote:
Greetins all,
In my form I have an area where the user enters in the 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 fat finger any of the
numbers. For instance, in my generic text f
Greetins all,
In my form I have an area where the user enters in the 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 fat finger any of the
numbers. For instance, in my generic text field the user types
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
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 hap
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
how do I set a number as a string
example
let us say
$a = 1;
$b = 2;
$c = 0;
I would like to be able to
$str = $c.$a.$b;
to result with
$str = 012;
is there something that I have missed or I guess the question should be what
did I miss
--
PHP General Mailing List (http://www.php.net/)
To unsu
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 http://pear.php.net/package-i
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
> 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 t
2,".",",").
Hope this helps.
Hugh
- Original Message -
From: "Emanuele" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 23, 2003 5:09 AM
Subject: [PHP] numbers problem
> Hi, I'm using a mysql connection to dinamically fill a tabl
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
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 seen that it
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 thin
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
&g
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 divid
G'day all
I have a calculation which gives me a number ie 6976587.4169922
This number is works outed by dividing a variable with 1024
Is there any way to strip anything after the .
so I just want the number 6976587 and not anything after the .
Thanks
CJ
--
PHP General Mailing List (http://www.
Does anyone know if there is a native function within PHP to convert numbers
to roman numerals?
I could easily write a little convertor, but I was hoping there was an
simple function - although I couldn't seem to find anything like that in the
manual.
Dave
--
PHP General Mailing List (http://
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 spr
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
Hi.
I've got this script that needs to take for examle 02 and increase that to
03.
but when i run the script $Num++; it changes 03 to 3;
is there not a function that adds leading zeros onto a string ?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net
29 matches
Mail list logo