I guess because I don't know how I'm supposed to... slowly figuring it
out.

On Nov 28, 2:28 pm, Baz <[EMAIL PROTECTED]> wrote:
> Hmmph,
>
> I don't know dude....Why don't you just write the thing like you're supposed
> to? I never messed with a black controller before. Your controller code
> should be done way before your view anyway....
>
> On Nov 28, 2007 4:16 PM, Luke <[EMAIL PROTECTED]> wrote:
>
>
>
> > <form action="<?php echo $this->webroot; ?>orders/import/"
> > enctype="multipart/form-data" method="post">
>
> >  <p><?php echo $form->file('import'); ?></p>
> >  <p><?php echo $form->submit('Import'); ?></p>
>
> > </form>
>
> > On Nov 28, 2:06 pm, Baz <[EMAIL PROTECTED]> wrote:
> > > What's in the view?
>
> > > On Nov 28, 2007 3:47 PM, Luke <[EMAIL PROTECTED]> wrote:
>
> > > > I have a completely BLANK controller... all it is is this:
>
> > > > function import()
> > > > {
> > > > }
>
> > > > in my view I have a form with a file upload element in it. whenever I
> > > > press "submit" I get this error on the top of the page "Warning (2):
> > > > Invalid argument supplied for foreach() [CORE\cake\dispatcher.php,
> > > > line 381]" WHY? :(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to