very urgent ..plz attention for image upload |
[eluser]xwero[/eluser]
Code: # loaders
[eluser]Bharani[/eluser]
STILL FILE NOT INSERTED.. HOW CAN I CHECK THE FILE INSERTING OR NOT.. LIKE ECHO STATMENT.. IS THERE ANY CHANGES WANTS TO MADE IN THE CONFIG...
[eluser]xwero[/eluser]
use print_r($_FILES) to see if there are uploaded files
[eluser]Bharani[/eluser]
ya echo the $_file() in the model.. even it display ..what i selected in the image file in the form... but selected image url not storeinto table... i am really angry with this error..
[eluser]Bharani[/eluser]
hi dear i got small idea.. can tell how i do that... $userfile contain array... but database query not support the array..is it na... then how can i assign single value..((that is path ))..to table field.. plz tell
[eluser]Bharani[/eluser]
aned one more good rsult ..that is ..now image is going to the upload folder.. only one problem that is image url not stored into table...
[eluser]xwero[/eluser]
The problem is with your database. I see in your model you are using Code: $userfile = $this->input->post('userfile'); You could do Code: // controller
[eluser]Bharani[/eluser]
got this error A PHP Error was encountered Severity: Notice Message: Undefined index: filename Filename: models/form_model.php Line Number: 15 INSERT INTO participants (id, YourName, email, comments, userfile) VALUES(NULL, 'ganeshkumarsrinivasan', '[email protected]', 'tetstfsadf fsadfsadfs', '')loaded this
[eluser]xwero[/eluser]
i'm sorry it's file_name instead of filename. If you want another value from the upload array check the user guide upload page.
[eluser]Bharani[/eluser]
yes i got it... very very thank you .. [email protected].... send your mail id |
Welcome Guest, Not a member yet? Register Sign In |