cb Posted April 10, 2007 Share Posted April 10, 2007 Hello Thanks for reading my post, I am creating a website that helps teach about the Linux Ubuntu OS therefore I will be creating guides and articles with pictures. I am using LAMP on Ubuntu by the way, I would like to know how to pull both images and text from the MYSQL database whereas, there will be text explaining how to do things and then a screenshot showing the task will be shown as well. What I dont understand is how this is done, how the images are I guess wrapped in the correct places and not just appearing at the bottom or something, So, I want Text, then picture 1, text Picture 2, Text Picture 3 and so forth. How would I go about creating this? Table/Command wise? Thanks so so much Link to comment https://forums.phpfreaks.com/topic/46499-php-mysql-retriving-text-and-images-writing-a-guide-section/ Share on other sites More sharing options...
TEENFRONT Posted April 10, 2007 Share Posted April 10, 2007 Hey Basic php and mysql really mate. Best bet is to search for some tutorials of how to add rows and retrieve rows from mysql. http://www.spoono.com/php/tutorials/ theres some decent tutorials there, and some at PHPFreaks too.. Sorry if you already know how to do this, and i missed your point? Link to comment https://forums.phpfreaks.com/topic/46499-php-mysql-retriving-text-and-images-writing-a-guide-section/#findComment-226253 Share on other sites More sharing options...
per1os Posted April 10, 2007 Share Posted April 10, 2007 I would store the pictures as a file on the server and store the picture name in the DB. If you MUST have the pictures stored in the DB use blob. Link to comment https://forums.phpfreaks.com/topic/46499-php-mysql-retriving-text-and-images-writing-a-guide-section/#findComment-226254 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.