| | |
Adding Image (Path) into MySql Database
Please support our PHP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Aug 2007
Posts: 199
Reputation:
Solved Threads: 0
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
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
![]() |
Similar Threads
- How To Connect Remote Mysql Database (Visual Basic 4 / 5 / 6)
- Problem adding registration data to mysql database (JSP)
- retrieving image from mysql database using php (PHP)
- can i use mysql database with asp (ASP)
- Php code confusion. Not sure how to describe (PHP)
- URGENT: UBBThreads MySQL database merge (MySQL)
- Backing up a MySQL database (MySQL)
- Update entire Mysql DataBase with PhP (PHP)
Other Threads in the PHP Forum
- Previous Thread: date translater english to hijri
- Next Thread: Login Security !
| Thread Tools | Search this Thread |
apache api array basic beginner binary body broken cache cakephp class cms code computing confirm cron curl customizableitems database date date/time delete display dynamic echo email error file filter folder form forms forum function functions gc_maxlifetime global google headmethod href htaccess html iframe image include ip javascript joomla limit link list login malfunction memmory memory menu mlm msqli_multi_query multiple mycodeisbad mysql navigation oop parameter parsing paypal pdf php phpmysql query question random recourse recursion regex script search select seo server sessions snippet source space sql static system table thesishelp trouble tutorial update upload url variable video web webdesign xml youtube





