| | |
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 beginner binary body broken buttons cakephp checkbox class cms code cron curl database date date/time display dynamic ebooks echo email error file files folder form forms function functions global google href htaccess html image include insert ip javascript joomla limit link list login mail mediawiki menu mlm msqli_multi_query multiple mycodeisbad mysql number oop parameter paypal pdf php phpincludeissue problem query radio random recourse recursion regex remote script search seo server sessions sms source sp space speed sql static subdomain syntax system table tag tutorial update upload url validator variable vbulletin video web webdesign white wordpress xml youtube





