Difference between #1 and #2 of
How to upload a file using a model

Revision #2 has been created by jonah on Aug 23, 2009, 4:44:42 AM with the memo:

instead of
« previous (#1) next (#3) »

Changes

Title unchanged

How to upload a file using a model

Category unchanged

Tutorials

Yii version unchanged

Tags unchanged

Content changed

[...]
```php
<?php echo CHtml::form('','post',array('enctype'=>'multipart/form-data')); ?>
...
<?php echo CHtml::activeFileField($model, 'image'); ?>
...
<
/form?php echo CHtml::endForm(); ?> ```
66 4
64 followers
Viewed: 516 504 times
Version: 1.1
Category: Tutorials
Written by: qiang
Last updated by: samdark
Created on: Feb 4, 2009
Last updated: 8 years ago
Update Article

Revisions

View all history