4. E – Commerce Website Tutorial – PHP MySQL Inventory Management
July 13th, 2011 by admin
->
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.
Written by - Visit WebsitePosted in Wordpress Tutorial Videos
July 13th, 2011 at 7:52 am
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.
July 13th, 2011 at 7:52 am
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?
July 13th, 2011 at 7:52 am
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.
July 13th, 2011 at 7:52 am
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
July 13th, 2011 at 7:52 am
MORE INFO FOR GODADDY USERS:
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.
July 13th, 2011 at 7:52 am
TO ALL GODADDY USERS THAT ARE HAVING PROBLEMS UPLOADING IMAGES:
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!
July 13th, 2011 at 7:52 am
Cool video. That having been said, if you would like to create professional looking stores on the net, see our-channel now!
July 13th, 2011 at 7:52 am
thank you for this tutorial, you are great! n very smart, good way to get views to your site…..good job man!
July 13th, 2011 at 7:52 am
@psychojack77 Yup, i kinda got that already. But thanks for the concern man. U r awesome!
July 13th, 2011 at 7:52 am
@bendyamin86 if you want a logout button just use
$session_start();
$session_destroy();
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
July 13th, 2011 at 7:52 am
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.
July 13th, 2011 at 7:52 am
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.
July 13th, 2011 at 7:52 am
@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.
July 13th, 2011 at 7:52 am
Ok i got this working… but…
THERE’S NO LOG OUT BUTTON!
July 13th, 2011 at 7:52 am
@gogira i’m having the same problem. it won’t upload coz it doesn’t detect the folder. i’m stuck here.
July 13th, 2011 at 7:52 am
i dont know if im just being thick but i cant find the making of the form in tutorial 3 i havewatched it 5 times but im not seeing it ps help
July 13th, 2011 at 7:52 am
@WillMaynard77 dont worry i googled it Cheers for the heads up though
July 13th, 2011 at 7:52 am
@WillMaynard77 can you tell me how to do this, this is what I’m currently having trouble with, goDaddy is full of unnecessary shit
July 13th, 2011 at 7:52 am
Ok I just want to add that if you are using godaddy you need to set the permissions so the file will be uploaded, Found this out the hard way.
July 13th, 2011 at 7:52 am
I dont under stand how to get the form to work properly with javascript can anyone help me?
July 13th, 2011 at 7:52 am
how can you put multiple pictures into a product??
July 13th, 2011 at 7:52 am
@elvisniperx the problem was my web server… i tried it all out using xampp and it s working well
July 13th, 2011 at 7:52 am
@gogira i’m sorry for the late reply. yes i’m referring to that. that is my only problem. i’ll message you the code.
July 13th, 2011 at 7:52 am
@elvisniperx i have this in my code :
enctype=”multipart/form-data” name=”myForm” id=”myform” method=”post”>
were you referring to this ?
July 13th, 2011 at 7:52 am
mysql_num_rows() expects parameter 1 to be resource, boolean given in admin_login.php on line 17
$existCount = mysql_num_rows($sql);
if($existCount == 1){
while($row = mysql_fetch_array($sql)){
$id = $row[“id”];
}
$_SESSION[“id”] = $id;
$_SESSION[“manager”] = $manager;
$_SESSION[“password”] = $password;
header(“location: index.php”);
exit();
can u help me? pls ;_;