I should enter another query to get the data from another table, how to do it?
first query
$actor_id = $_GET["id"];
$nome= $row ['nome'];
$sql = "select * from gallery WHERE actor_id_fk=". $actor_id;
$rs = mysqli_query($conn, $sql);
to be included in the code
$sql = "select * from actor WHERE actor_id=". $actor_id;