Ver Mensaje Individual
  #4 (permalink)  
Antiguo 08/05/2013, 02:03
Avatar de repara2
repara2
 
Fecha de Ingreso: septiembre-2010
Ubicación: München
Mensajes: 2.445
Antigüedad: 13 años, 7 meses
Puntos: 331
Respuesta: cómo insertar en un campo de llave foránea

Puedes hacer algo así:

Código PHP:
Ver original
  1. if(!mysql_num_rows($resource)) return false;
http://de1.php.net/manual/es/functio...l-num-rows.php

Salu2
__________________
Fere libenter homines, id quod volunt, credunt.