At this 09:33 2/04/02 +0200 Roger Baklund told us all something interesting :-

>* Gordon Stewart
>[...]
> > http://homepages.slingshot.co.nz/~gordon52/3.txt
>[...]
> >    while ( $row = mysql_fetch_array($result) ) {
> >      echo("<p>" . $row["JokeText"] . "</p>");
>[...]
> > But how do i list the actual database names ?
>
>The result column of the "show databases" command is named "Database", not
>"JokeText".

LOL thanks...

I should be more careful on what i type.. - & change - if i'm copying

Are there any *good* online tutorials on PHP / MySql ?

Ive found this :-

http://hotwired.lycos.com/webmonkey/99/21/index2a_page4.html?tw=programming

Which is a simple "hello World" script - VERY Basic...

The next URL in the sequence is :-

http://hotwired.lycos.com/webmonkey/99/21/index2a_page5.html?tw=programming

Which creates the databases in DOS MODE..

the next page,
http://hotwired.lycos.com/webmonkey/99/21/index2a_page6.html?tw=programming

You lean how to get the information from the 'employees'  table...

But thats going from step 1 to step 12 - all in one go..  assuming you know 
the name of the table.. - It doesnt advise the person how to locate the 
names of the tables within a database .. .. - all in PHP - without 
switching from PHP to DOS,

  (I'll assume you can do EVERYTHING in PHP as you can in dos... ??)

Are there any commands you can use to locate the number / Names of the 
tables ??

Ive uploaded my new script :-

http://homepages.slingshot.co.nz/~gordon52/4.txt

Which lists the databases available - You then click on the database name 
you want, & it should list all the tables within the database selected..

I had it showing the number of tables - Except where it should say the 
table name it just said "array".

1) How do i find the table names within a database....

2) Are there any step-by-step guides to PHP / MySQL - without skipping over 
steps...

G.


---------------------------------------------------------------------
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

Reply via email to