Adding Image (Path) into MySql Database

Reply

Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Adding Image (Path) into MySql Database

 
0
  #1
Aug 9th, 2007
Hello everybody,
firstly I am new in PHP, and I use the WAMP5 tools which has the following features:
i) Apache 2.2.4 (SERVER)
ii) PHP 5.2.3 + PECL
iii) SQLitemanager
iv) MySQL 5.0.41
v) Phpmyadmin
I have a table named 'tblStudent' with four fields as follow properties:
1. stID int not null auto_increment
2. stFirstName varchar(30) not null
3. stLastName varchar(30) not null
4. stPhoto varchar(250)
what I want:
after filling out the fields and also I need a button which browse the photo path, and when clicking on submit button, then everything goes into database, and also another page appears with showing the new entry data and picture with successfully completed message.

NOTE: should be mentioned, that I have a folder where I put my php files in the root, I need all the photo stores there with the name stID...
and as I told you, I am new with php, please guide me as you see suitable
Reply With Quote Quick reply to this message  
Join Date: Aug 2007
Posts: 199
Reputation: tanha is an unknown quantity at this point 
Solved Threads: 0
tanha tanha is offline Offline
Junior Poster

Re: Adding Image (Path) into MySql Database

 
0
  #2
Aug 9th, 2007
Any one here help me through this please...
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC