Re: random rows...what about tables
| From: | Jason Wong | Date: | Tue, 17 Dec 2002 14:46:55 +0000 |
| Subject: | Re: random rows...what about tables | ||
| References: | 1 2 3 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-24236@lists.php.net to get a copy of this message | ||
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. There's an example in the manual which shows you
how to use mysql_list_tables(). Get that working, _then_ adapt it to return
random tables.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
QOTD:
"I sprinkled some baking powder over a couple of potatoes, but it
didn't work."
*/