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
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
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
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
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
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
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
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
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
.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]">
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
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
12 matches
Mail list logo