Try,
"select '$TableItem'.list where id = 1";

py

----- Original Message -----
From: Deependra B. Tandukar <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 18, 2001 12:14 AM
Subject: [PHP] MySQL Query.....


> Greetings !
>
> I have following tables in MySQL:
>
> TableItem
> id    list
> 1     Banana
> 2     Orange
> 3     Mango
>
> Other tables are:
> Banana, Orange, Mango
>
> Instead of selecting Table Banana directly I need to select it as "select
> $TableItem.list where id=1" or something like that for editing or deleting
> items in Table Banana . I tried to do like this but doesn't work. Does it
> work somehow?
>
> Looking forward to hearing from you.
>
> Warm Regards,
> DT
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to