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:
    http://docs.yahoo.com/info/terms/
 


Reply via email to