:26 AM
To: 'Bruce Levick'; [EMAIL PROTECTED]
Subject: RE: [PHP-DB] random rows...what about tables
I think it's because mysql_list_tables returns a resource identifier
($result). You have to iterate through the resource identifier ($result)
with a while() loop to get the actual table
On Tuesday 17 December 2002 22:18, Bruce Levick wrote:
> Sorry,
> Have updated my script with a little help. Upon output i am recieving this.
>
> Warning: Argument to array_rand() has to be an array in
> C:\WORKING\portfolio\vivamotion\site\php\request.php on line 51
>
OK, start from the basics. T
ly before, so I hope this
helps.
> -Original Message-
> From: Bruce Levick [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 17, 2002 9:19 AM
> To: [EMAIL PROTECTED]
> Subject: Re: [PHP-DB] random rows...what about tables
>
>
> Sorry,
> Have updated
ROTECTED]>
Sent: Tuesday, December 17, 2002 11:48 PM
Subject: Re: [PHP-DB] random rows...what about tables
> On Tuesday 17 December 2002 21:38, Bruce Levick wrote:
> > Bruce Levick - Vivamotion
> > Been searching for an answer to selecting a random table and then a
random
>
At 23:38 17-12-02 +1000, Bruce Levick wrote:
Bruce Levick - Vivamotion
Been searching for an answer to selecting a random table and then a random
row within the selected table.
I have this code which successfully selects a random row within a hard coded
table. But just can't get the random table
On Tuesday 17 December 2002 21:38, Bruce Levick wrote:
> Bruce Levick - Vivamotion
> Been searching for an answer to selecting a random table and then a random
> row within the selected table.
>
> I have this code which successfully selects a random row within a hard
> coded table. But just can't g