Re: Re: [PHP] Round with money_format

2011-09-19 Thread Cyril Lopez
2011/9/17 Bill Guion : > On Sep 17, 2011, at 3:46 AM, Cyril Lopez wrote: > >> From: Cyril Lopez >> Date: September 16, 2011 10:58:28 AM EDT >> To: php-general@lists.php.net >> Subject: Round with money_format >> >> Hi, >> >> Can someon

[PHP] Round with money_format

2011-09-16 Thread Cyril Lopez
Hi, Can someone help me understand how money_format() rounds numbers ? Misconfiguration ? Bug ? Thanks ! Cyril Config : Debian Lenny, PHP 5.3.8 -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Float Value Parse Problem

2008-01-07 Thread Cyril Chacko
is required. Thanks for the help. Regards. Cyril Chacko -- Beauty lies in the eye of the beholder. Make sure they are on you. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] array to object conversion

2005-12-14 Thread Cyril
Is there any way of converting an array to an object of a type/class other than stdClass? I have been using the new PDO system and have experimented with fetching rows with PDO::FETCH_CLASS I would quite like to do the same with a plain array. Any comments appreciated. Cyril -- PHP General

[PHP] custom session problem with 4.1.2

2004-01-28 Thread cyril
f php before 4.2 any pointers appreciated. regards cyril -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Persistent connection & many scripts ?

2001-04-18 Thread Picard, Cyril
ction & many scripts ? > > Nope, you don't need to save the ID. PHP/database does the work of > remembering what the ID of your persistant connection is. > > > -- > Plutarck > Should be working on something... > ...but forgot what it was. > > > "&q

RE: [PHP] Connection to postgresql DB used by 2 scripts ?

2001-04-18 Thread Picard, Cyril
vril 2001 12:42 > À:[EMAIL PROTECTED] > Objet:Re: [PHP] Connection to postgresql DB used by 2 scripts ? > > Hi, > > put: include("connect.php"); at the beginning of query.php. > > Johannes > > ""Picard, Cyril"" <[EMAIL PROTE

RE: [PHP] Persistent connection & many scripts ?

2001-04-18 Thread Picard, Cyril
hummm... I don't know how to use pg_pconnect()... It returns a connection ID, isn't it ? And I have to use this connection ID later ? I would like to reuse this connection ID to another script... and the problem is here :( I feel that I ignore something so important that I'm stopped and so trivi

[PHP] Connection to postgresql DB used by 2 scripts ?

2001-04-18 Thread Picard, Cyril
I would like to query a postgresql db with the php language. Today I wrote a script (connectandquery.php) performing the following : - connect to the DB : $conn = pg_Connect("dbname = foo"); - execute the query : $res = pg_Exec($conn,"SELECT * from BAR"); But I would like to write this in two s

RE: [PHP] Persistent connection & many scripts ?

2001-04-17 Thread Picard, Cyril
.that might be just as good as what you are trying to do. > > > -- > Plutarck > Should be working on something... > ...but forgot what it was. > > > ""Picard, Cyril"" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">

[PHP] Persistent connection & many scripts ?

2001-04-17 Thread Picard, Cyril
Hi all I use PHP to query a PostgreSQL database. Today I know how to query the database with a PHP script, but I have to establish a connection to the database in each script. Is there a way to get the following : connect.php : a script where the user enters its login and password, and connect t

RE: [PHP] Form Field

2001-04-17 Thread Picard, Cyril
Try this : $urlrow = htmlentities (urlencode($row[0][0])); name="R1"> (I'm not sure you need urlencode, but htmlentities should help you) > -Message d'origine- > De: Marcelo Pereira [SMTP:[EMAIL PROTECTED]] > Date: mardi 17 avril 2001 15:35 > À:Mike > C