"select * from $dbname.$tablepre"."art where aid=$artid";
时间: 2023-12-30 16:02:07 浏览: 84
This SQL statement selects all columns and rows from the table named "art" in the database specified by the variable "$dbname", using a table prefix specified by the variable "$tablepre". The query includes a condition that filters the results to only include the row where the "aid" column matches the value of the variable "$artid".
阅读全文