Hi..is this a correct SQL statement to display details of a record from
table and column that is variable
$query= (SELECT * FROM $_GET['$tablename'] . "' WHERE id = '" . $_GET[' $row2[$cols'] . "' ;
the id and table were passes correctly on the URL but the error is displayed in the above code.
thank you