470,833 Members | 1,345 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,833 developers. It's quick & easy.

simple question !

Hey,
I want to know how many entries there is in a table : is there a simple
function to do that ?
Thanks.

By the way, does anyone know how to make an autorun on a CD rom, so that
when the CD is inserted, it opens the user's internet browser (in full
screen if possible).
Jul 17 '05 #1
2 1466
In article <c8**********@smilodon.ecp.fr>, Jean-Baptiste Hétier wrote:
Hey,
I want to know how many entries there is in a table : is there a simple
function to do that ?
Yes. Grab your manual, and lookup what count() does in a SQL query.
By the way, does anyone know how to make an autorun on a CD rom, so that
when the CD is inserted, it opens the user's internet browser (in full
screen if possible).

And how would that be related to PHP? Google has loads of information on
how to make such a CD. Btw, keep in mind that it is possible that the cd
will be inserted in computers without an X server (so what is full
screen in that case?) or on computers that don't have a internet
browser.

--
Tim Van Wassenhove <http://home.mysth.be/~timvw/contact.php>
Jul 17 '05 #2
Jean-Baptiste Hétier <dj**@radiopi.org> wrote in message news:<c8**********@smilodon.ecp.fr>...
Hey,
I want to know how many entries there is in a table : is there a simple
function to do that ?
Thanks.
If you meant number of fields in a table:
int mysql_num_fields(int result_identifier)

If not, I don't know!

By the way, does anyone know how to make an autorun on a CD rom, so that
when the CD is inserted, it opens the user's internet browser (in full
screen if possible).


If Windows finds a file called AUTORUN.INF in the root directory of a
CD then it follows the instructions in this file to run a program. To
run index.htm in full screen, AUTORUN.INF looks like:

[autorun]
open=command /c start /max index.htm
Jul 17 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by delisonews | last post: by
3 posts views Thread by Patchwork | last post: by
8 posts views Thread by Dan | last post: by
6 posts views Thread by Manuel Collado | last post: by
11 posts views Thread by JKop | last post: by
4 posts views Thread by Steven Blair | last post: by
7 posts views Thread by abcd | last post: by
24 posts views Thread by firstcustomer | last post: by
14 posts views Thread by Giancarlo Berenz | last post: by
10 posts views Thread by Phillip Taylor | last post: by
reply views Thread by mihailmihai484 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.