Hallo,
I am beginner,
I want to show on page results of this query: $query="SELECT mr_prehlad.mr_id, mr_kontakt.nazov_mr FROM mr_prehlad RIGHT JOIN mr_kontakt ON mr_kontakt.id_mr=mr_prehlad.mr_id WHERE mr_prehlad.'$co'='1' ORDER BY mr_prehlad.mr_id ";
But this while ( $row = MySQL_Fetch_Field( $result ) ) {
echo "<tr>\n";
foreach( $row as $hodnota ) {
echo "<td>\n";
echo $hodnota;
echo "</td>\n";
}
echo "</tr>\n";
}
is not function.
How to show with php in html pages query with left or right join?
Thanks for answer.