wht ide ?

From: Date: Mon, 02 Jul 2001 09:08:24 +0000
Subject: wht ide ?
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-10013@lists.php.net to get a copy of this message
Hi, I am using Php Coder and was wondering wht ide others are using ? Vishal ----- Original Message ----- From: "Beau Lebens" <B.Lebens@curtin.edu.au> To: "'kachaloo'" <kachaloo@hotmail.com>; <php-db@lists.php.net> Sent: Monday, July 02, 2001 1:14 PM Subject: RE: [PHP-DB] Showing an image > what you should actually do is save that script as something like > "image.php" and then on the page where you want to have text + images, do > something like > > > <html> > <body> > <img src="image.php?uid=xxx" border="0"><br> > I am some text under the image that is grabbed from the DB > </body> > </html> > > assuming that the image.php page accesses teh DB based on a car called "uid' > which represents a key to pull the right image, in this case it is "xxx" :) > > HTH > Beau > > > // -----Original Message----- > // From: kachaloo [mailto:kachaloo@hotmail.com] > // Sent: Monday, 2 July 2001 3:38 PM > // To: php-db@lists.php.net > // Subject: [PHP-DB] Showing an image > // > // > // HI, > // I want to show an image from a database but to do that I am using : > // $result = @mysql_query($sql); > // $data = @mysql_result($result, 0, "PICTURE"); > // $type = @mysql_result($result, 0, "FILETYPE"); > // Header("Content-type: $type"); > // echo $data; > // > // > // but after this I also want to show some text info. How can I > // do this ? I > // will have to use something else besides header. Please Help. > // Thanks, > // Vishal > // > // > // > // -- > // PHP Database Mailing List (http://www.php.net/) > // To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > // For additional commands, e-mail: php-db-help@lists.php.net > // To contact the list administrators, e-mail: > // php-list-admin@lists.php.net > // >

« previous php.db (#10013) next »