[PHP] how to find out the mysql version from php?

2001-07-10 Thread Jakob
several people seem the have the case sensitivity problem regarding different mysql versions - see this extract from the mysql manual: Prior to MySQL Version 3.23.4, REGEXP is case sensitive, and the previous query will return no rows. To match either lowercase or uppercase `b', use this

RE: [PHP] how to find out the mysql version from php?

2001-07-10 Thread Chadwick, Russell
SELECT version() AS version -Original Message- From: Jakob [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 10, 2001 2:57 PM To: [EMAIL PROTECTED] Subject: [PHP] how to find out the mysql version from php? several people seem the have the case sensitivity problem regarding different

Re: [PHP] how to find out the mysql version from php?

2001-07-10 Thread Aaron Bennett
: Tuesday, July 10, 2001 2:56 PM Subject: [PHP] how to find out the mysql version from php? several people seem the have the case sensitivity problem regarding different mysql versions - see this extract from the mysql manual: Prior to MySQL Version 3.23.4, REGEXP is case sensitive

Re: [PHP] how to find out the mysql version from php?

2001-07-10 Thread Aaron Bennett
[EMAIL PROTECTED] Sent: Tuesday, July 10, 2001 3:58 PM Subject: Re: [PHP] how to find out the mysql version from php? Jakob, See if this does what you're looking for. // returns a string with the current mySQL version connecting handled by $dbh. $mysqlver = pos(mysql_fetch_row(mysql_query