|
|
|||||||||
|
|||||||||
|
|||||||||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Free Web 2.0 Code Generator! Generate data entry and reporting .NET Web apps in minutes. Quickly create visually stunning, feature-rich apps that are easy to customize and ready to deploy. Download Now!
|
|
#1
|
|||
|
|||
|
trying to pass jpg from blob field, no go
I'm having trouble passing a jpg from a blob field, all I get is the image's name, not the image. Here is the code:
while ($row=mysql_fetch_array($result)) if ($row["sid"]==$card_id) { echo "<div align='center'> "; echo "<h2><b>Here is your ecard from</b></h2>"; echo "<h1>"; echo $row["s_name"]; echo "</h1>"; echo "<br>"; echo "<br>"; echo $dir = "http://www.alaskancentral.com/php/ecardpics/"; echo print("<ing src=\"".$dir."/".$image."\"/>"); echo "<br>"; its from an ecard, almost completed. but no good without pictures. Looking for help here. Thanks.
__________________
bow wow! |
|
#2
|
|||
|
|||
|
echo $dir = "http://www.alaskancentral.com/php/ecardpics/";
echo print("<ing src=\"".$dir."/".$image."\"/>"); TRY THIS $DIR= "http://www.alaskancentral.com/php/ecardpics/"; echo "<img src='$dir/$image' >";
__________________
Rathaur ====================== Knowledge is Power |
|
#3
|
|||
|
|||
|
Re: trying to pass jpg from blob field, no go
Try...
PHP Code:
Last edited by RyanJ : May 10th, 2002 at 01:22 PM. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > General Programming Help > trying to pass jpg from blob field, no go |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|