simple question !

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jean-Baptiste Hétier

    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).
  • Tim Van Wassenhove

    #2
    Re: simple question !

    In article <c8crrb$1a4$1@s milodon.ecp.fr> , Jean-Baptiste Hétier wrote:[color=blue]
    > Hey,
    > I want to know how many entries there is in a table : is there a simple
    > function to do that ?[/color]

    Yes. Grab your manual, and lookup what count() does in a SQL query.
    [color=blue]
    > 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).[/color]


    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>

    Comment

    • Subhash

      #3
      Re: simple question !

      Jean-Baptiste Hétier <djib@radiopi.o rg> wrote in message news:<c8crrb$1a 4$1@smilodon.ec p.fr>...[color=blue]
      > Hey,
      > I want to know how many entries there is in a table : is there a simple
      > function to do that ?
      > Thanks.[/color]

      If you meant number of fields in a table:
      int mysql_num_field s(int result_identifi er)

      If not, I don't know!

      [color=blue]
      > 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).[/color]

      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

      Comment

      Working...