Welcome Guest, Not a member yet? Register   Sign In
Auto generated code
#3

[eluser]saima[/eluser]
my code is this

<?php if($device_access_code!=""){
$device_access_code = $device_access_code;
}else{
$device_access_code = $this->auth->getDeviceCode(5);
} ?>
<label for="device_access_code">&lt;?php echo lang('device_access_code');?&gt;</label>
&lt;?php $data = array('id'=>'device_access_code', 'name'=>'device_access_code',
'value'=>set_value('device_access_code', $device_access_code), 'class'=>'gc_tf1');echo form_input($data); ?&gt;

don't know how to use hidden field there and print if


Messages In This Thread
Auto generated code - by El Forum - 08-16-2012, 08:44 PM
Auto generated code - by El Forum - 08-16-2012, 10:16 PM
Auto generated code - by El Forum - 08-16-2012, 10:24 PM
Auto generated code - by El Forum - 08-16-2012, 10:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB