incluir archivo php - yii framework
AUTOR PREGUNTA #1
-
¿Tienes la misma pregunta? Yo también
Esto también te interesa!
PREGUNTAS SIMILARES
#2
public function obtenerInput() {
if (isset($_POST['nombre'])) {
$email = $_POST['nombre']; }
$this->render('_nombreForm'); }
Y en tu vista esto:
<?php
$form=$this->beginWidget('CActiveForm', array( 'id'=>'nombre-form', 'nombreClientValidation'=>true, ));
echo CHtml::textField('nombre');
echo CHtml::submitButton('Send');
$this->endWidget();
Ya con esto puedes usar los inputs sin ningún problema, utilizando netamente Yii.