Re: [PHP-DB] Storing Image Location in MySQL

2009-02-23 Thread Joao Gomes Madeira
Sashi, pls read the following chapter http://www.php.net/manual/en/book.image.php Cheers JP -Original Message- From: Sashikanth Gurram sashi...@vt.edu To: Joao Gomes Madeira jpcg@gmail.com Cc: php-db@lists.php.net Subject: Re: [PHP-DB] Storing Image Location in MySQL Date: Sun, 22

Re: [PHP-DB] Retrieving Image Location in MySQL

2009-03-06 Thread Joao Gomes Madeira
Hi Sashi: You're incurring in this error because the headers for the page have already been issued in the head section of your page. When you issue the php header() function, it will generate an error. Anyway, you are storing a path to a file in the database. My question is: do you want to put

Re: [PHP-DB] Retrieving Image Location in MySQL

2009-03-07 Thread Joao Gomes Madeira
Hello again Sashi The answer provided by Mushin won't work because images are not acessible from the outside. You can't have img src=C:\Users\Sashikanth\Desktop\Bldgs_lots\Burruss.jpg ... because that's not a valid URL... You can have something like img src=Bldgs_lots/Burruss.jpg ... which