<label>Brand Name</label>
<input type="text" name="brand_name" value="<?php echo set_value('brand_name'); ?>" />
</div>
<div>
<label>Brand image</label>
<input type="file" name="brand_pic" size="20" value="<?php echo set_value('brand_pic'); ?>" />
</div>
<div>
The above one is what i am trying to do. the purpose is "while form validation if the fields not satisfied the condition then i can put the same data there using set_value('field_name') but how to do the same for image?? Thank you in advance.
Aucun commentaire:
Enregistrer un commentaire