RE: Newbie - Different commands....?

2002-04-02 Thread Roger Baklund
* Gordon Stewart > (I'll assume you can do EVERYTHING in PHP as you can in dos... ??) yes, almost... when you say 'dos', I assume you mean the mysql client console. There are a couple of things you can do in the client console that can not be done with the client api... like using \c to cancel a

RE: Newbie - Different commands....?

2002-04-02 Thread Gordon Stewart
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("" . $row["JokeText"] . ""); >[...] > > But how do i list the ac

RE: Newbie - Different commands....?

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

PS: RE: Newbie - Different commands....?

2002-04-01 Thread Gordon Stewart
> Ive uploaded it to one of my sites (doesnt have PHP - (I dont think..)) as a text file... http://homepages.slingshot.co.nz/~gordon52/3.txt I just 'viewed source' & I saw all the correct source-code.. < Ive changed some text of my PHP script :- New lines are :- (see above URL - view source.

RE: Newbie - Different commands....?

2002-04-01 Thread Gordon Stewart
At this 14:31 1/04/02 +0200 Roger Baklund told us all something interesting :- > > From the build4-5 web-page above, I'll assume that > > $result = @mysql_query("show databases"); would be the correct code to > > SHOW the databases available.. > >That is correct. > > > However its not going &

RE: Newbie - Different commands....?

2002-04-01 Thread Roger Baklund
* Gordon Stewart > I've been following the website of :- > > http://www.wdvl.com/Authoring/DB/SQL/Build/ > > And its the best ive seen - so far... > > Im up to this page :- > > http://www.wdvl.com/Authoring/DB/SQL/Build/build4-5.html > > & now i'm stuck - I need to know 2-3 more things that i can

PS: Re: Newbie - Different commands....?

2002-03-31 Thread Gordon Stewart
At this 14:24 1/04/02 +1200 Gordon Stewart told us all something interesting :- >I've been following the website of :- > >http://www.wdvl.com/Authoring/DB/SQL/Build/ > >And its the best ive seen - so far... > >Im up to this page :- > >http://www.wdvl.com/Authoring/DB/SQL/Build/build4-5.html > >&

Newbie - Different commands....?

2002-03-31 Thread Gordon Stewart
Hi there, Im a newbie... Ive installed PHP/MySQL 2 nights ago & have been Surfing various websites re installing & setting up MySqld using CGi/Perl.. I can do most things online _ in a DOS window - But i want to do them online - PHP file / CGI.. I've been following the website of :- http://