when I try this code I receive warning about second parameter to string. I have seen some answers in previous similar questions but I did not find the solution... As far as I can get the problem is with if statement?? Thanks.
if (isset($_GET['id'])) {
$str_id = $_GET['id'];
($conn->set_charset("utf8"));
if ($result=mysqli_query($conn, $q )) {
while ($obj=mysqli_fetch_object($result)) {
}
?>