In message <[EMAIL PROTECTED]>, vishnu <[EMAIL PROTECTED]> writes
>hey ppl
>actually we r working on a project for that i need ur help
>we want to open table not by its name but its variable
>means query like
>
>
>$next=mysql_query("SELECT * FROM $name WHERE 1");
>
>
>where $name is table name
>
>its not working
>u ppl hv ne solution.
>
>pls send as soon as poss.
The little code that you have given should be OK.
What error message are you getting?
--
Pete Clark
Sunny Andalucia
http://www.hotcosta.com/comm_1.htm