I have this doubt, it is probably very simple answer but I have very little doing this because I still do not soak up the logic hehehehe. Good to the question:
This part of the code marks me the error: "Catchable fatal error: Object of class mysqli_result could not be converted to string"
$queryjoin="SELECT matriculas.matricula from matriculas inner join aspirantes on matriculas.id_mat=aspirantes.id_asp where aspirantes.folio=$id;";
$n_control = mysqli_query($link,$queryjoin); echo $n_control;
can you help me? they are two tables in a same base, when I run it in the consulate of mysql if it gives me the desired result but here when doing the echo $ n_control; Mark me that error, help for fa in the tables the values are INT
A thousand thanks