Hello everyone I'm making a project in which I need to save some image in my postgreDB, this is the table I have in the db.
CREATE TABLE tbimagen ( idimagen serial NOT NULL, imagen bytea NOT NULL, CONSTRAINT pk_nimagen PRIMARY KEY (idimagen) ) WITHOUT OIDS; ALTER TABLE tbimagen OWNER TO postgres; the code of my templete is the next <?php echo form_tag('imagen/upload', 'multipart=true') ?> <?php echo input_file_tag('file') ?> <?php echo submit_tag('Send') ?> </form> and my action is the next public function executeUpload() { $tbimagen = new Tbimagen(); $tbimagen->setIdimagen($this->getRequestParameter('idimagen')); $tbimagen->setImagen($this->getRequestParameter('file')); $tbimagen->save(); $this->redirect('imagen','index'); } When I run my application it send me this bug Notice: Undefine index: index in /usr/share/php/symfony/response/ sfWelResponse.class.php on line 165 Please if anyone knows what happen here??? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---