Hi all, i have a question, i have a php file with all my class to
connect into a postgresql db and i'm using the pg_connect in this form:
pg_connect("192.168.1.100","","","",$dbase);
but when i have 8 or 10 users inserting data the db response is very
slow, is problem in the pg_connect?, all ppl
essy code but id prefer an elegant solution.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
---------
Joe Nilson Zegarra Galvez
Sistemas Kola Real
Telefax : 0051-54-256658
Movil: 0051-54-9603244
I think that you want to round the number, and yes, you can do it, How?,
well, by example
//Your Number from the DB
$number=10.259;
//Apply the round function to show only two decimals
$new_number=round($number,2);
//The result 10.26
echo $new_number;
Regards
Nilson
El sáb, 27 de 09 de 20
; >
>> > The manual says that mysql_connect() can be called without arguments.
>> > That's
>> > what I'm doing.
>> >
>> > What's wrong?
>> >
>> > Thanks,
>> > Gabriel.
>> >
>> > --
>> > P