So heres what I want to do. I want to display, for example, a random picture from a database. Along with it I want to display something text, such as the name of the person in the picture. I want a couple of names to appear though, and the user can select which one they think is correct. So one of the names has to be the right name. Do I need to different databases for the pictures and text? I'm kinda new.
random data
Started by redsox8792, Dec 17 2010 05:34 AM
2 replies to this topic
#1
Posted 17 December 2010 - 05:34 AM
|
|
|
#2
Posted 17 December 2010 - 08:30 AM
Create a table with a binary blob for the image and a few varchars for the different names, an int as primary key and a field for correct answer (int with value 1 to x for correspending name?)
use the tutorials in the php tutorial section about storing and fetching images to/from database.
use the tutorials in the php tutorial section about storing and fetching images to/from database.
__________________________________________
I study Information Systems at Karlstad University when I'm not on CodeCall
I study Information Systems at Karlstad University when I'm not on CodeCall
#3
Posted 17 December 2010 - 05:19 PM
k thanks


Sign In
Create Account

Back to top









