Retrieving Image Location in MySQL

[email protected] (Sashikanth Gurram)
Newsgroups php.db
Message-ID <[email protected]>
Dear All,

I am trying to retrieve the location of a image (not the image, just the 
location of the image) stored on MySQL database, using PHP to display it 
in my browser. One of the users has been kind enough to provide me with 
an example code as to how to do it. He asked me to use /<img 
src="picture.php?&qry=123"> /in the html code. I understood the part of 
/picture.php? /which tells us that the php code used to retrieve the 
image is located in the file picture.php (If what I have understood is 
correct). But I did not quite understand the second part /&qry=123 /. 
What does this mean? Of what use is this second part? Does the variable 
&qry has something assigned to it in the picture.php code? I would 
greatly appreciate it if any one of you can answer my questions.

Thanks,
Sashi

-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Sashikanth Gurram
Graduate Research Assistant
Department of Civil and Environmental Engineering
Virginia Tech
Blacksburg, VA 24060, USA
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.