Ver Mensaje Individual
  #13 (permalink)  
Antiguo 31/05/2016, 13:24
Avatar de kip13
kip13
 
Fecha de Ingreso: agosto-2011
Mensajes: 167
Antigüedad: 12 años, 8 meses
Puntos: 13
Respuesta: Como hacer una consultas a dos tablas ?

Solo te falta un punto y coma, te lo esta diciendo:

Código PHP:
Ver original
  1. $info_post=($conexion, "SELECT P.id,J.id FROM post P INNER JOIN jugadores J ON J.id=P.id") ;

Tambien te falta agregarle mysqli_query.

Código PHP:
Ver original
  1. $info_post=mysqli_query($conexion, "SELECT P.id,J.id FROM post P INNER JOIN jugadores J ON J.id=P.id") ;