|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2000-08-21 13:50 UTC] bassboot at gmx dot net
I have an adress-book relaized in php3.
To show up a pic, I use an extended file.
showpic.php3:
<?
mysql_connect("localhost", "bassboot", "4string");
mysql_select_db("basser");
$result=mysql_query("SELECT * FROM kontakte WHERE id=$id ORDER BY id")
or die ("Can't perform Query");
$row=mysql_fetch_object($result);
Header( "Content-type: image/gif");
echo $row->pic;
?>
With php4 is does work any more.
Thank's for your help.
Frank
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Jul 14 10:00:02 2026 UTC |
I have an adress-book relaized in php3. To show up a pic, I use an extended file. showpic.php3: <? mysql_connect("localhost", "user", "pass"); mysql_select_db("basser"); $result=mysql_query("SELECT * FROM kontakte WHERE id=$id ORDER BY id") or die ("Can't perform Query"); $row=mysql_fetch_object($result); Header( "Content-type: image/gif"); echo $row->pic; ?> With php4 is does work any more. Thank's for your help. Frank