|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
|
|
Stay one step ahead of the competition. Evaluate and give feedback
on some of the hottest web development tools on the market today.
Make your opinion heard! Click
Here
|
|
#1
|
|||
|
|||
|
Hi guys,
IŽm planning to create a database for a product catalog where I could also store the path of product's image. Then when I will display the catalog I will have the information of the product and the image as well. IŽve been checking out some related articles here, but thereŽs no one where both features would be implemented at same time. Anyway if you know about one please let me know. This are the one that IŽbeen checking out, the catalog one is ok, but the image db is made by a different way than I actually want. The idea is good, because I want a unique id for each image. Ok, the question is the next; Is it possible to insert products to the database and same time upload an image to the server that will be identified with the inserted product? I mean using the <?print $PHP_SELF?> Can I do this from the same page? And then right after I insert the product and the image to the database, I want to display the inserted product information and the image to possibly modify it. I would appreciate if somebody could help me giving me some idea or advice to do this. Thank you! |
|
#2
|
||||
|
||||
|
Try something like this, I use it for my website to put a image with my weblog. I use the $PHP_SELF in the form, so yes, that is possible!
PHP Code:
Maybe not the best example, but I hope it's useful... I can rewrite it if you want, but I think you'll get what I mean. Does this answer your question?
__________________
Work to live, don't live to work |
![]() |
| Viewing: Dev Articles Community Forums > Databases > MySQL Development > PHP/Mysql product catalog with images |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|