i have just created a mysql table.

Code:
CREATE TABLE profile (
id MEDIUMINT NOT NULL AUTO_INCREMENT,
picture CHAR(30) NOT NULL,
PRIMARY KEY (id)
)

load data infile "c:/apache/htdocs/lojsite/database/profiletable1.txt" into table profile
fields terminated by ','
the profiletable1.txt is a ',' delimited file and also contains a link to a jpeg file that i want on my site

i now need the php part so i can make this code work. i suppose u have guessed already that it is a code for the view.php?id=23 type of navigation effect.

any help would me much appreciated.