> 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.... )
---------
if ($result) {

     echo("<p>performing query - no error: " . mysql_error() . "</p>");

     echo("Result - " . $result . "</br>");


   while ( $row = mysql_fetch_array($result) ) {
     echo("<p>" . $row["JokeText"] . "</p>");
   }
   }
---------

When i view the screen on the website, here is what i see...

-----------
performing query - no error:

Result - Resource id #2
-----------


Now - What is "Resource id #2" - I think it means ive got 2 databases to 
choose from ...

But how do i list the actual database names ?

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