Codeigniter not returning me to upload form after image upload?

Cheers dude, that's done the trick! – Drew May 10 '10 at 12:59.

There are some really confusing parts in your source code (like why is the view called upload form when it does not contain an upload form). I see one problem in your controller and that is that the conditional will always execute the first branch. So you might want to change it to: if(($error = $this->Upload_model->do_upload()) === true) This will capture the error and execute the second branch on error.

If this doesn't help, try also posting your upload form.

As I say i'm still really new to ci and naming files logically has never been my strong point! They tend to have an organic evolution. Thanks for the answer but alas I still get no joy.

– Drew May 10 '10 at 11:24.

I am new to Codeigniter. Working on an form validation having image in the form. Using Module MVC extension in CodeIgniter.

This is working fine. File which is not jpeg | gif is not uploaded. But user don't get any error message.

I want the user to show that particular error when other image type is uploaded. I tried this but failed.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions