کد:<?php if(isset($_GET['id']) && !empty($_GET['id'])){ $id=(int) $_GET['id']; $result2=$config->connect->prepare("SELECT db_user_user.id,db_user_author.id,db_user_admin.id FROM db_user_user,db_user_author,db_user_admin WHERE db_user_user.id=? OR db_user_author.id=? OR db_user_admin.id=?"); $result2->bindValue(1,$id); $result2->bindValue(2,$id); $result2->bindValue(3,$id); $ss = $result2->execute(); $result = $ss->fetchAll(); print_r($result); // if($result2->execute()){ // $count=$result2->rowCount(); // echo $count; // if($count===1){ // $rows=$result2->fetch(PDO::FETCH_ASSOC); // $user_edit->edit(); // } // else{ // header('location: user-user.php'); // exit(); // } // } // else{ // header('location: user-user.php'); // exit(); // } // } // else{ // header('location: user-user.php'); // exit(); // }