[PHP] Convert a numeric string

2001-04-24 Thread liman

Hi all.

How can I convert this: 1250 into this: 10.000.250?
I must manage numbers rangin from some million to... well, too much to
read them without points (or colons for USA guys).

I'm looking in the docs but printf doesn't seem to be able to do that.

Thank you.



-- 
Liman - [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




[PHP] Yes, thanx

2001-04-24 Thread liman

Yes. It was just that.

Thankx a lot.

-- 
Liman - [EMAIL PROTECTED]

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]




Re: [PHP] newbie question about variables

2001-04-08 Thread liman

Victor escribió:
> 
> Hello,
> 
>  Is there any (easy) way to let a user to set the value of a
>  variable by simply clicking on a hyperlink on a web page?
>  I mean if I have a 3 links on a page if the user clicks on image1 to
>  set a variable $var=1,if clicks on image2 to set it as
>  $var=2,etc.
> 
>  Any suggestions (including RTFMs ;-)) are wellcome.
> 
> Best regards,
>   Victor
> 
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]

Put this.










When the user clicks the img item, JavaScript will put the foo hidden
input to the value selected.


Bye.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]