re: display all information from table
| From: | Terry Mehlman | Date: | Mon, 14 Aug 2000 17:58:21 +0000 |
| Subject: | re: display all information from table | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-11645@lists.php.net to get a copy of this message | ||
if i'm understanding you correctly, you can just leave off the 'where'
clause:
select * from $table
this will return all fields/rows from the table designated by $table, and as
i've implied here, you can use a variable for the table name.
is this what you meant?
James Montz wrote:
>>>>>From all I have seen, you typically specify the column names in that
particular table. But since I want the ability to >>>>>choose from any
table, this wont work.