Simple Inventory System Using PHP/MySQL

I developed this code to those beginner programmer who found difficulties in creating their inventory system using php/mysql. The feature of this system are, it generates daily inventory report, secure login because i use md5 encryption for login and registration . It also generate reports such as daily, weekly, monthly, and yearly. This system has many features not just the features written above. To try this system just download and run this system. If you have question, suggestion or anything, just leave comment and it's my pleasure to entertain your comments.
database name: liveedit
username: admin
password: admin
Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. After downloading it, you will need a program like Winzip to decompress it.
Virus note: All files are scanned once-a-day by SourceCodester.com for viruses, but new viruses come out every day, so no prevention program can catch 100% of them.
FOR YOUR OWN SAFETY, PLEASE:
1. Re-scan downloaded files using your personal virus checker before using it.
2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
Comments
how do u make sales? i think
how do u make sales? i think something is missing
username and password not found
Hi. Am I using the correct username and password? I use "admin" for both but I get an error message that username and password not found. I tried entering "3", "admin", "admin" on the register form based on the value on the database but it says "You dont have access to add user pls. contact the administrator".
error in log in
error in log in
No use brother to upload such a zip file.
Please don't waste time to read & upload it's file. It contains error in login. System isn't work properly.
Add stock
Hi Argie,
Great code but I do have a question though. On the add item, instead of adding the stock, the app just updates the value of qtyleft. For example the product "qweqwqw" has 10 on qtyleft and if I go to add item and put 15 on quantity, I would like qweqwqw to become 25 instead of 15. How do I go about this? Thanks.
Hoping for your reply.
-Renee
to renne
pm me policarpio.argie@yahoo.com
PM sent
Hi Argie,
I have sent you a PM. I hope you can help me.
Regards,
Renee
kuya..
bakit po yung sa add product nag iinstant update po? d po nag aadd..? tnx..
...
thanks argie!
to all those who are complaining - password, some features not working, blahblah.. why don't you all try to put an effort in reading the code and do a little bug fixing. yes, there are some minor bugs but otherwise argie's work is fine. sheesh!
for one thing, the login, of course, will not work if you haven't damn loaded the SQL file.
qty updating fixed
change updateproduct.php file to:
$proid=$_POST['ITEM'];
$itemnumber=$_POST['itemnumber'];
//mysql_query("UPDATE inventory SET qtyleft='$itemnumber'
//WHERE id='$proid'");
$result = mysql_query("SELECT * FROM inventory
WHERE id='$proid'") or die(mysql_error());
$row = mysql_fetch_array( $result );
$count = $row['qtyleft'] + $itemnumber;
$result = mysql_query("UPDATE inventory SET qtyleft='$count' WHERE id='$proid'")
or die(mysql_error());
header("location: tableedit.php#page=addproitem");
??>
thanks!
it's all working fine. nice!
hello
hello why is it that there is always error to the qty sold in the inventory??? "Notice: Undefined variable: rtrt in C:\wamp\www\inventory\tableedit.php on line 207" that is exactly the error and i did not change everything :) thank you
fix that error
i tried removing that error and still run. . just remove the following error listed there
Easy to fix errors
If you need help putting the inventory system to work, you can contact me and for a small fee $20) I can help you get it up and running: mauricio-malagon@hotmail.com
error on quantity sold
hi argie when i put integer in the quantity sold field in the inventory i need to refresh the system to see the computation in the sales field. . what i am looking is that when i put integer it must be automatically compute and no need to refresh sir argie! but still your program is great very helpful gb
Sales error
Hi Argie,
Need help on the sales menu. Error are listed below:
Notice: Undefined index: from in C:\xampp\htdocs\inventory\tableedit.php on line 283
Notice: Undefined index: to in C:\xampp\htdocs\inventory\tableedit.php on line 284
The codes are: $a=$_POST['from']; $b=$_POST['to'];
Any thoughts about this?
Thanks a lot!
Jean
hi argie
thx will see it n back to u soon
another bug
tq argie for share some script :)
but, I found bug, can u update this script, I just can't how to fix this :(
ayaw maglog in
ayaw maglog in
argie
hello po... bakit po ba nka error ang log in...
try mo iload ang sql file sa
try mo iload ang sql file sa db... pra mgkaruon nang content ang db mo
Its working well, Thanks. But
Its working well, Thanks. But how do you sell a product ??
SCREAM:ERROR SUPPRESION INGNORED FOR
I am new in php.I downlode it and when i run this project above
error display & also Notice:undefined indexd : id in c:\wamp\www\inventory\index.php on line 49
please reply
Add new comment