esto de aqui n.n
Código PHP:
require('Connections/db-cnx.php');
if(isset($_GET['not_ID'])){
$not_ID = $_GET['not_ID'];
//select t1.campo1, t2.campo2, campoN from tabla1 t1 inner join tabla2 t2 on t1.campoCoincidente = t2.campoCoincidente
$sqlQueryNot = mysql_query("SELECT * from apuesta
WHERE not_ID = $not_ID", $db_link)
or die(mysql_error);
$sqlQueryNot2 = mysql_query("SELECT * from equipos", $db_link)
or die(mysql_error);
while($rowNot = mysql_fetch_array($sqlQueryNot) and $rowNot2 = mysql_fetch_array($sqlQueryNot2) ){
echo $rowNot['nombres'];
echo $rowNot2['fechas'];
}
}else{
echo "Error...imposible leer la base de datos!";
}