Hi Ms Liz,

That's a lot of code when all we need to see is the code related to
showing an image.  It;s important to provide your code when asking for
help, but try to only provide the relevant stuff as a lot of ppl will
look at that and run.

Can you confirm if the images are uploaded and can you access them
direct from a url?

>From a scan of your code the relevant code to show an image is:

if(($showImage==1)&&(!empty($image1))) {
  debug($image1);die();
  //echo $html->image('files/'.$image1);
  //echo $html->link('delete','/delete/'.$image1);
} ?>

What does this actually output?

HTH, Paul
@phpMagpie

On Sep 5, 8:45 am, ms_liz_87 <[email protected]> wrote:
> Can anyone check my code? 2 images successfully uploaded into my DB
> banners table. but it supposed show the image also after i click on
> submit button.

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to