hola amigos espero me ayuden
 
 
necesito llenar un input , estoy utilizando este codigo para sumar un mes a una fecha y necesito llenar el input con este resultado
 
 
$fecha_pri_pag = new DateTime($fec_ven);
$fecha_pri_pag->modify('+1 month');
$fecha_pri_pag->format('Y-m-d');
 
 
echo "<input name='r_social' id='r_social' type='text'  size='30' readonly='' value='.$fecha_pri_pag->format('Y-m-d').'</td>"; 
  
 

 


