Re: Forward compatible double declaration
| From: | Manuel Lemos | Date: | Mon, 31 Jul 2000 08:29:28 +0000 |
| Subject: | Re: Forward compatible double declaration | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-27001@lists.php.net to get a copy of this message | ||
Hello Paul,
On 30-Jul-00 18:23:05, you wrote:
>>BTW, is there a way to query a MySQL server to figure supports DOUBLE
>>values without a fixed number of decimal places, maybe by checking the
>>server version?
>SELECT VERSION() will give you the server version number as a string.
>Perhaps you could check that.
How do I execute a query like that in PHP when there does not exist any
database in the server? PHP requires that you select a database first
before executing any queries. Since you can run a "database-less" without
having any databases created in the server, could this be a limitation of
PHP?
Regards,
Manuel Lemos
Web Programming Components using PHP Classes.
Look at: http://phpclasses.UpperDesign.com/?user=mlemos@acm.org
--
E-mail: mlemos@acm.org
URL: http://www.mlemos.e-na.net/
PGP key: http://www.mlemos.e-na.net/ManuelLemos.pgp
--