4. E – Commerce Website Tutorial – PHP MySQL Inventory Management

www.developphp.com In this 4th video we will create the Inventory management page in the Admin area. List all inventory and make a form and parser for adding new inventory items. The E – Commerce Web Site we will be assembling is one in which all of the inventory is in a MySQL database and we offer a custom PHP cart for a unique shopping experience. It is a site that handles sales, customers, and inventory.


  • @davidjunior2000 I have exactly the same issue, I decided he must mean the fact that he showed how to make A form rather than THIS form.

  • Can someone help me, I got an error when I submit my form. The error: 404 (Page Not Found) Error. Pls I really need help on this one. Thanks in advance.

  • if you having trouble with the uploading and are using a linux web server (may apply to windows too) remember to change the upload_max_filesize, post_max_size and memory_limit in the php ini file because the default is set to something like 1mb, whenever i have had problems with uploading or have seen someone with uploading problems its usually because of this.

  • @bendyamin86 if you want a logout button just use
    just make a link to a php file called logout or whatever then put a link back to whatever page you want it to go to at the bottom and problem solved xD

  • Cool video. That having been said, if you would like to create professional looking stores on the net, see our-channel now!

    You do indeed need to create a new php5.ini file. you need to define the max file size and stuff there.

    BUT with godaddy you need to change the permissions for the image directory you are dumping to! by defult they are read only, go into file manager and give write permissions for web apps!


    if you are also getting the “no input file specified” error but still seeing the file being renamed and placed into the correct “images” directory, you need to add a line into your php5 file. I can’t include the line because Stupid Youtube thinks it’s some sort of hyperlink and blocks it form being posted.

    cgi fix pathinfo = 1

    just put a period between cgi and fix, and a underscore between fix and pathinfo

    Recycle your app pool and you’re good to go.

  • What if i want to add 2 or 3 other categories with there subcategory ???
    Plz some one can write the html code for me this is important

  • Great lucid cogent and well-spoken tutorials. You really know how to speak to a learning audience. I just started PHP and I love this. Thanks so much man.

  • Adam thanks for taking time to do these tutorials.
    I have completed course and all works well, but I would like to add say 5 catagories in drop down which when clicked shows their own sub catagories in sub catogory drop down box. I am just learning this stuff so please be patient with me if the following is crap:-
    I think I need to set an OPTION VALUE for each sub catagory, if so can anyone explain how?

  • Thanks for posting this! If you need help customizing your zen cart store check out our channel for our free Easy Help Zen Cart Video Tutorial library. If you have a specific question or video you would like to see, just leave a comment on our channel.

  • @pauldetect my solution would be to have onEvent() javascript check on the first option bar and when something happens to that bar check the database and update the other one according to the database

  • @gaifboy maybe you should look at the CHMOD, it’s a permession option in ftp, don’t know which ftp client you got, but try to find out the folder (where do you want to upload imgs), then find option CHMOD (sometimes it’s in right click) then choose 777 (Write Read Execute etc..)

  • hey guys, i am a godaddy user and im not sure if thats why i keep getting this error but that might be it..
    in the inventory_list page while trying to upload an image to an my website and to my folder (inventory_images) i keep getting this error.

    Warning: move_uploaded_file(../inventory_images/26.jpg) [function.move-uploaded-file]: failed to open stream: Not a directory in /home/content/54/8339354/html/storeadmin/inventory_list.php on line 72

    ive swopped out my code for adams and still nothing

  • hi, thanks for the tutorials, you-re great man. but i have a problem, i want to upload 4 photos of the product something like ID_1.jpg, ID_2.jpg, can you help me? i`m trying for 4 hours to solve it, but i`m new to codding and it`s really hard..

    thank you!

  • hii,, i m very impressed by your tutorial,, right nw i m making project on ecommerce website,, i jst finished part 3 of your tutorial,,but in part4,, i am getting a problem with images,, i tried a lot,, but “You have no products listed in your store yet” msg still remaining. it would be great kind of you if you show a right way, so i can go ahead. if u dont mind can u send me email on,, “yogpatel70@gmail.com”…pls

Leave a Reply

Your email address will not be published. Required fields are marked *