1 - $art = mysql_one_array("SELECT * FROM ". $table ." WHERE id='". $id ."'");
maybe?

On 5/31/05, flor bamboo <[EMAIL PROTECTED]> wrote:
>  
>  I can't make these codes work:
>  
>  1 - $art = mysql_one_array("SELECT * FROM ". $table ." WHERE id='$id'");
>  
>  2 - $art = mysql_one_array("SELECT * FROM '$table' WHERE id='$id'");
>  
>  the $id variable works, but i can't make the $table variable work. Can you
> please show me the right code?
>  
>  Thanks.
>  
>  
>  ---------------------------------
>    Yahoo! Messenger - Communicate instantly..."Ping" your friends today!
> Download Messenger Now
>  
>  [Non-text portions of this message have been removed]
>  
>  
>  ________________________________
>  Yahoo! Groups Links
>  
>  
> To visit your group on the web, go to:
> http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/
>   
> To unsubscribe from this group, send an email to:
> [EMAIL PROTECTED]
>   
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.


 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/AspClassicAnyQuestionIsOk/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to