Hola,
¿Y que tipo de campos son fecha_ins y fecha_lim, DATE o TIMESTAMP? Porque $fecha_lim es un timestamp. Para usarlo como $hoy tendrias que hacer:
Código PHP:
$fecha_lim = getdate(mktime(0,0,0,date("m"),date("d")+30,date("Y")));
REvisa en el manual getdate() (
www.php.net/getdate) y mktime() (
www.php.net/mktime).
Suerte.