Hi,
Thanks for your relies. There are a couple of
problems. Firstly, i'm picking the filename from the
database, so my code is something like this :
if ($myrow = mysql_fetch_array($result)) {
do {
echo(
img src=\images\\$myrow[ilmage]\
);
} while ($myrow =
$thumbnail = eregi_replace('\.jpg$', 'a.jpg', $myrow['ilmage']);
$thumbnail = eregi_replace('\.gif$', 'a.gif', $thumbnail);
It's no problem to do it twice in a row; it'll pick up one or the other.
miguel
On Mon, 8 Apr 2002, Thomas Edison Jr. wrote:
Hi,
Thanks for your relies. There are
it
with the 'a'.. Hope it helps!
Rick
Be kind. Everyone you meet is fighting a hard battle - John Watson
From: Thomas Edison Jr. [EMAIL PROTECTED]
Date: Mon, 8 Apr 2002 01:17:51 -0700 (PDT)
To: Miguel Cruz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding a in try.jpg! Problems!
Hi
$myrow[ilmage] = eregi_replace((\.[^\.]+)$, a\\1, $myrow[ilmage]);
and if ilmage isn't a constant use $myrow[ilmage].
Thomas Edison Jr. [EMAIL PROTECTED] schrieb im Newsbeitrag
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
Hi,
Thanks for your relies. There are a couple of
problems. Firstly,
ROTECTED]
Subject: Re: [PHP] Adding a in try.jpg! Problems!
Hi,
Thanks for your relies. There are a couple of
problems. Firstly, i'm picking the filename from the
database, so my code is something like this :
if ($myrow = mysql_fetch_array($result)) {
do {
echo(
img src=\images
guel Cruz [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] Adding a in try.jpg! Problems!
Hi,
Thanks for your relies. There are a couple of
problems. Firstly, i'm picking the filename from the
database, so my code is something like this :
if ($myrow = mysql_fet
6 matches
Mail list logo