concerned with
the particulars. Hopefully the concept is sound. If not, please do
flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday, March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving
attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday,
March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam írta:
//Write a query
the concept is sound. If not, please do
flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday,
March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam
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
Hi JP,
Thanks for chipping in again. I have been using the following code
(after retrieving the local location of my image to the variable
$location. I am not really looking to host the pictures onto a site as
of now), which u have earlier provided me with
/
$err=1;
if ($img =
with
the particulars. Hopefully the concept is sound. If not,
please do
flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday,
March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location
AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam írta:
//Write a query to pull out the picture's path
$sql = SELECT path FROM Image WHERE ID = %s;
mysql_real_escape_string($value);
Sorry, but this won't work, since you
. Hopefully the concept is sound. If not, please do
flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday,
March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location
: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday, March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam írta:
//Write a query to pull out the picture's path
$sql = SELECT path FROM Image WHERE ID = %s
the concept is sound. If not, please do
flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu] Sent: Monday, March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
: Sashikanth Gurram sashi...@vt.edu
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Date: Fri, 06 Mar 2009 12:23:31 -0500
Dear all,
I have been trying to retrieve the location of a image from database and
display the image in the browser using PHP. I have written
Gurram sashi...@vt.edu
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Date: Fri, 06 Mar 2009 12:23:31 -0500
Dear all,
I have been trying to retrieve the location of a image from database and
display the image in the browser using PHP. I have written a sort of
code
[mailto:m...@matya.hu] Sent: Monday, March
02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam írta:
//Write a query to pull out the picture's path
$sql = SELECT path FROM Image WHERE ID = %s
Sashi,
This (likely) means you have a some generic page (i.e., picture.php)
that displays some picture. The picture it displays depends on the
parameter passed when the page is called (i.e., 123).
html
head
titleSashi's Test Page/title
/head
body
Fortuno, Adam írta:
//Write a query to pull out the picture's path
$sql = SELECT path FROM Image WHERE ID = %s;
mysql_real_escape_string($value);
Sorry, but this won't work, since you don't map the value of the escaped
$value to the %s, lets
. Hopefully
the concept is sound. If not, please do flame my note so no one attempts it.
Be Well,
A-
-Original Message-
From: Mattyasovszky Janos [mailto:m...@matya.hu]
Sent: Monday, March 02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
: Mattyasovszky Janos [mailto:m...@matya.hu]
Sent: Monday, March 02, 2009 9:29 AM
To: php-db@lists.php.net
Subject: Re: [PHP-DB] Retrieving Image Location in MySQL
Fortuno, Adam írta:
//Write a query to pull out the picture's path
$sql = SELECT path FROM Image
17 matches
Mail list logo