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

2009-03-07 Thread Sashikanth Gurram
GR Muhsin Sashikanth Gurram wrote: Hi, Thanks a lot for the suggestion. It is working fine but there is some problem. When I introduced the piece of code you have suggested into my code, I am getting a space for the picture but nothing is there in that space. It is just blank. I do not know

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

2009-03-07 Thread Sashikanth Gurram
=php_gd2.dll has been removed. Thanks, Sashi Hello, Does something like this work on your php script? $location=..\..\Bldgs_lots\Burruss.jpg OR $location=..\Bldgs_lots\Burruss.jpg GR Muhsin Sashikanth Gurram wrote: This is the location where I have saved my images. /C:\Users

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

2009-03-07 Thread Sashikanth Gurram
-- ~ ~ Sashikanth Gurram Graduate Research Assistant Department of Civil and Environmental Engineering Virginia Tech Blacksburg, VA 24060, USA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

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

2009-03-07 Thread Sashikanth Gurram
Hi, I have tried it in 3 browsers (Chrome, firefox and internet explorer) and none of them has given me any image. -Sashi Phpster wrote: Bet the image is not readable from the web server. Bastien Sent from my iPod On Mar 7, 2009, at 5:04, Sashikanth Gurram sashi...@vt.edu wrote: Hi, Yes

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

2009-03-06 Thread Sashikanth Gurram
)) { if ($img = imagecreatefromstring($img)) $err = 0; } if ($err) { header('Content-Type: text/html'); echo 'htmlbodyp style=font-size:9pxError getting image.../p/body/html'; } else { header('Content-Type: image/jpeg'); imagejpeg($img); imagedestroy($img); } ? /body /html/ Sashikanth Gurram wrote

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

2009-03-06 Thread Sashikanth Gurram
'); echo 'htmlbodyp style=font-size:9pxError getting image.../p/body/html'; } else { header('Content-Type: image/jpeg'); imagejpeg($img); imagedestroy($img); } ? /body /html/ Sashikanth Gurram wrote: Hello guys, Thanks to you all for your kind replies. I will try the steps and get back

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

2009-03-02 Thread Sashikanth Gurram
-- ~ ~ Sashikanth Gurram Graduate Research Assistant Department of Civil and Environmental Engineering Virginia Tech Blacksburg, VA 24060, USA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Retrieving Image Location in MySQL

2009-03-01 Thread Sashikanth Gurram
-- ~ ~ Sashikanth Gurram Graduate Research Assistant Department of Civil and Environmental Engineering Virginia Tech Blacksburg, VA 24060, USA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP-DB] Storing Image Location in MySQL

2009-02-22 Thread Sashikanth Gurram
-- ~ ~ Sashikanth Gurram Graduate Research Assistant Department of Civil and Environmental Engineering Virginia Tech Blacksburg, VA 24060, USA -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net

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

2009-02-22 Thread Sashikanth Gurram
Thanks fir the suggestion Chris -Sashi Chris wrote: Sashikanth Gurram wrote: Dear All, I am trying to store the location of a image into MySQL database, so that I can call it back from PHP to display it in a browser. For this purpose, I have created a table with two columns (BuildingCode

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

2009-02-22 Thread Sashikanth Gurram
($img); imagedestroy($img); } ... Cheers JP -Original Message- From: Sashikanth Gurram sashi...@vt.edu To: php-db@lists.php.net Subject: [PHP-DB] Storing Image Location in MySQL Date: Sun, 22 Feb 2009 03:43:06 -0500 Dear All, I am trying to store the location of a image into MySQL

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

2009-02-22 Thread Sashikanth Gurram
getting image.../p/body/html'; } else { header('Content-Type: image/jpeg'); imagejpeg($img); imagedestroy($img); } ... Cheers JP -Original Message- From: Sashikanth Gurram sashi...@vt.edu To: php-db@lists.php.net Subject: [PHP-DB] Storing Image Location in MySQL Date: Sun, 22 Feb 2009

[PHP-DB] Cannot print the data from database in the webpage

2009-02-13 Thread Sashikanth Gurram
; ? -- ~ ~ Sashikanth Gurram Graduate Research Assistant Department of Civil and Environmental Engineering Virginia Tech Blacksburg, VA 24060, USA -- PHP Database Mailing List (http://www.php.net

Re: [PHP-DB] Parse error: syntax error, unexpected '' in C:\wamp\www\new.php on line 38

2009-02-13 Thread Sashikanth Gurram
, Sashikanth Gurram sashi...@vt.edu wrote: Hi all, I have pasted the PHP code I wrote below. I do not know why, but I am getting the parse error: unexpected ''. It says the error is on line 38. The exact line on line 38 is * echotr\n* Basically, I am trying to execute an sql query through PHP

[PHP-DB] WAMP server Problem and Correct way to install PHP and MySQL???

2009-01-23 Thread Sashikanth Gurram
Hello everyone, I have installed WAMP server on my PC. Then I have installed the MySQL and PHP software by downloading them from the site. The PHP programs I have written used to work fine but when I tried to connect to the MySQL database or create a new database using the PHP programming