Re: I'm after an mysql_info() example

2001-06-01 Thread Basil Hussain

Hi,

> Using PHP4 and Mysql
> 
> After reading the manual and doing vaious searchs around
> the net, I'm damned if I can work out the syntax for
> mysql_info().

I'm looking at the manual for PHP4 here and there is no such mysql_info()
function! The only listed *_info() functions are:

mysql_get_client_info()
mysql_get_host_info()
mysql_get_proto_info()
mysql_get_server_info()

I'm assuming you want info about the server you're connected to, but even
given the functions above, this won't help much as all they return are
version numbers (and are only present in PHP 4.0.5 and above).

What you'll need to do is to issue an SQL query of "SHOW STATUS" and/or
"SHOW VARIABLES" (depending on which pieces of info you require) and use the
relevant records from the result set given back.

Regards,


Basil Hussain ([EMAIL PROTECTED])


-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: I'm after an mysql_info() example

2001-06-01 Thread Howard Picken

Using PHP4 and Mysql

After reading the manual and doing vaious searchs around
the net, I'm damned if I can work out the syntax for
mysql_info().

Could anyone give me an example please?

feelin' a bit dumb


Howard Picken
(Server, SQL, Query...   etc)
[EMAIL PROTECTED] 

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php




Re: I'm after an mysql_info() example

2001-06-01 Thread Peter van Dijk

On Fri, Jun 01, 2001 at 09:26:08PM +1000, Howard Picken wrote:
> After reading the manual and doing vaious searchs around
> the net, I'm damned if I can work out the syntax for
> mysql_info().
> 
> Could anyone give me an example please?

In what programming language?

Greetz, Peter.

-
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/   (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php