Hi all,
I am new to drupal
Currently using drupal version 5.2
Using localhost,phpmyadmin for our database.
My team and I have created a add member module of our own.
And we are experiencing problem with including the upload image into our add member form
Everything is filled in the form and when press submit.
The user is added to the database.
But in the user table image columm is empty.
This is the upload image code that we use in the add member form.
$form['indicator']['image'] = array(
'#type' => 'file',
'#title' => t('Photo'),
'#description' => t('browse photo')
);
So do we need to add a file path code for it to work?
Please enlighten us!
Thank You!
| Comment | File | Size | Author |
|---|---|---|---|
| add_member_module.txt | 9.6 KB | unistp88 |