Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/09/2014, 15:00
Avatar de el_tigre
el_tigre
 
Fecha de Ingreso: febrero-2006
Ubicación: Perú
Mensajes: 1.044
Antigüedad: 18 años, 3 meses
Puntos: 8
De acuerdo Error Resoruce

Amigos, tengo esta consulta

Código SQL:
Ver original
  1. SELECT TEXTO
  2.                 FROM tbl_rv60 WHERE ID='".$_POST['Libro_id']."' AND CAPITULO='".$_POST['Capitulo'].'
  3.                                       ." AND VERSICULO='".$_POST['Versiculo']"'"

Al ejecutarlo me arroja el siguiente error

You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''Resource id #2' at line 2

¿pueden ayudarme?

Última edición por gnzsoloyo; 05/09/2014 a las 15:10