[eluser]Unknown[/eluser]
well this is my code
Code:
<?php $attributes = array('id' => "ContactForm");
echo form_open('email/send',$attributes); ?>
<div>
<div class="wrapper"><span>Nombre*:</span><div class="bg"><div>
<?php $nombre = array('class'=>'input','name'=>'name','id'=>'name','value'=>'');
echo form_input($nombre);?></div></div>
</div>
<div class="wrapper"><span>E-mail*:</span><div class="bg"><div>
<?php $correo = array('class'=>'input','name'=>'email','id'=>'email','value'=>'');
echo form_input($correo);?></div></div>
</div>
<div class="wrapper"><span>Cel / Tel*:</span><div class="bg"><div>
<?php $telcel = array('class'=>'input','name'=>'tel','id'=>'tel','value'=>'');
echo form_input($telcel);?></div></div>
</div>
<div class="wrapper"><span>Asunto*:</span><div class="bg"><div>
<?php $subject = array('class'=>'input','name'=>'asunto','id'=>'asunto','value'=>'');
echo form_input($nombre);?></div></div>
</div>
<div class="textarea_box"><span>Mensaje*:</span><div class="bg"><div>
<?php $texta = array('name'=>'mensaje','id'=>'mensaje','rows'=>'1','cols'=>'1');
echo form_textarea($texta);?></div></div>
</div>
<?php
echo " ";
$submit = Array ("name"=>"submit","value"=>"Enviar","class"=>"button");
echo form_submit($submit);
echo " ";
$reset = Array ("name"=>"reset","value"=>"Limpiar","class"=>"button");
echo form_reset($reset); ?>
</div>
<?php echo form_close(); ?>
<?php echo validation_errors(); ?>
if i see the view-source:http://localhost/mobiCode/ of the page the form had this link in the action property
Code:
<form action="http://localhost/mobiCode/index.php?email/send" method="post" accept-charset="utf-8" id="ContactForm"> <div>
and i dont know why put "index.php?email/send" if always in another projects put "index.php/email/send" automatically, does can anyone can explain me where im wrong? thx for your time. Regards!!!