i cant display images that i uploaded ..[SOLVED] - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: i cant display images that i uploaded ..[SOLVED] (/showthread.php?tid=30774) |
i cant display images that i uploaded ..[SOLVED] - El Forum - 05-25-2010 [eluser]kosaidpo[/eluser] hello great peeps well im tryin to build my CI musculs by makin a forum even is jst a simple one but ...bla bla .. my problem is i have a function that upload the avatar user and store/update the db with path of the aploaded pic so when i call the column from the db wrapped in <img> tag nethin get displayed and now im here askin your help heres my function controller Code: if($this->check_session()){ Code: echo '< img src='. $ligne->pic .' / >' tnx in advance i cant display images that i uploaded ..[SOLVED] - El Forum - 05-25-2010 [eluser]kosaidpo[/eluser] okay i solved it by usin base_url like this $chemin=base_url() .'uploads/'.$page['is_ok']['orig_name'] ; |