Add:-
- Create following HTML Form
- Product Name - text
- Product Code - text
- Product Small Image - file
- Product Big Image - file
- Product description - textarea
Prodt Quot Prod Price
text text
text text
text text
text text
text text
After submiting
- Upload the small image file into images/prodimg/small
- Upload the big image file into images/prodimg/big
- In case of image upload problem give message
- Only after uploading both files insert the data into database
- Display erro message if any
Create database table
Table - prod_detail
prod_name - varchar
prod_code - varchar PK
prod_small_img - varchar
prod_big_img - varchar
prod_desc - text
prod_id - int auto
Table - price_detail
1. prod_id - int FK
2. prod_qut - int
3. prod_price - float
4. price_id -int auto increment
Edit:-
Provide drop down list of available product codes to select product to edit
After selecting particular product, provide editable interface for modifying the details. Add below field in the form
- Delete - check box
If delete is checked delete product from both the tables
In the form provide link to view existing images. I mages will open in new window.
Once again upload should work similar to the earlier.
Display -
Display list of product in following format
Image Product Name
Product Code
No of Item Price per Item
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
(Link on image will 2 20 Buy Button
open new window
with big image)
Description
After clicking on "Buy" following values will be stored in the session
- Product ID
- Product Code
- Product Price (Item*Qut)
- Small Image Path
View cart page
It will display the session values in teh folowing format
Image Product COde Product Price
In the end sum of price will be displayed
Add:-
- Create following HTML Form
- Product Name - text
- Product Code - text
- Product Small Image - file
- Product Big Image - file
- Product description - textarea
Prodt Quot Prod Price
text text
text text
text text
text text
text text
After submiting
- Upload the small image file into images/prodimg/small
- Upload the big image file into images/prodimg/big
- In case of image upload problem give message
- Only after uploading both files insert the data into database
- Display erro message if any
Create database table
Table - prod_detail
prod_name - varchar
prod_code - varchar PK
prod_small_img - varchar
prod_big_img - varchar
prod_desc - text
prod_id - int auto
Table - price_detail
1. prod_id - int FK
2. prod_qut - int
3. prod_price - float
4. price_id -int auto increment
Edit:-
Provide drop down list of available product codes to select product to edit
After selecting particular product, provide editable interface for modifying the details. Add below field in the form
- Delete - check box
If delete is checked delete product from both the tables
In the form provide link to view existing images. I mages will open in new window.
Once again upload should work similar to the earlier.
Display -
Display list of product in following format
Image Product Name
Product Code
No of Item Price per Item
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
(Link on image will 2 20 Buy Button
open new window
with big image)
Description
After clicking on "Buy" following values will be stored in the session
- Product ID
- Product Code
- Product Price (Item*Qut)
- Small Image Path
View cart page
It will display the session values in teh folowing format
Image Product COde Product Price
In the end sum of price will be displayed
Add:-
- Create following HTML Form
- Product Name - text
- Product Code - text
- Product Small Image - file
- Product Big Image - file
- Product description - textarea
Prodt Quot Prod Price
text text
text text
text text
text text
text text
After submiting
- Upload the small image file into images/prodimg/small
- Upload the big image file into images/prodimg/big
- In case of image upload problem give message
- Only after uploading both files insert the data into database
- Display erro message if any
Create database table
Table - prod_detail
prod_name - varchar
prod_code - varchar PK
prod_small_img - varchar
prod_big_img - varchar
prod_desc - text
prod_id - int auto
Table - price_detail
1. prod_id - int FK
2. prod_qut - int
3. prod_price - float
4. price_id -int auto increment
Edit:-
Provide drop down list of available product codes to select product to edit
After selecting particular product, provide editable interface for modifying the details. Add below field in the form
- Delete - check box
If delete is checked delete product from both the tables
In the form provide link to view existing images. I mages will open in new window.
Once again upload should work similar to the earlier.
Display -
Display list of product in following format
Image Product Name
Product Code
No of Item Price per Item
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
2 20 Buy Button
(Link on image will 2 20 Buy Button
open new window
with big image)
Description
After clicking on "Buy" following values will be stored in the session
- Product ID
- Product Code
- Product Price (Item*Qut)
- Small Image Path
View cart page
It will display the session values in teh folowing format
Image Product COde Product Price
In the end sum of price will be displayed