Hi, I have an issue that i just cant seem to figure out hope some one
can help.
right i am getting people to input the own images directly into a blob
within a mysql database. then on the next page i want to display the
image with in a nicely formatted html table so i can put the image
where i choose on the page
*this code is only putting the image on the top of the page and wont
let me output any other text etc*
here is the code to display the blog image file-
<?php
$id;
// you may have to modify login information for your database
server:
@MYSQL_CONNECT( "localhost","ro ot","admin");
@mysql_select_d b("tablename" );
$query = "select bin_data from binary_data where id=$id";
$result = @MYSQL_QUERY($q uery);
$data = @MYSQL_RESULT($ result,"bin_dat a");
echo $data;
?>
<html>
<head>
<title>Untitled </title>
</head>
<body>
</body>
</html>
Please i am most grateful to any one that can help best regards adam
can help.
right i am getting people to input the own images directly into a blob
within a mysql database. then on the next page i want to display the
image with in a nicely formatted html table so i can put the image
where i choose on the page
*this code is only putting the image on the top of the page and wont
let me output any other text etc*
here is the code to display the blog image file-
<?php
$id;
// you may have to modify login information for your database
server:
@MYSQL_CONNECT( "localhost","ro ot","admin");
@mysql_select_d b("tablename" );
$query = "select bin_data from binary_data where id=$id";
$result = @MYSQL_QUERY($q uery);
$data = @MYSQL_RESULT($ result,"bin_dat a");
echo $data;
?>
<html>
<head>
<title>Untitled </title>
</head>
<body>
</body>
</html>
Please i am most grateful to any one that can help best regards adam
Comment