Jump to content

want some little help


salman233

Recommended Posts

guys i want help with little simple thing alright i want to make a pizza production mechanisum  i have a  input field pizza ------------------------

when i make 8 pizza,s in one day it should save 8 on that day on the next it should add those 8 previous day pizza including pizza made that days say 8+ 16 made today and so on adding previous days pizza and so on and good part is it should have a minus function too  it should be like a calculator  please help me out guys i am weak in maths :P

Link to comment
Share on other sites

You will need to store your quantities of pizzas made in a database or something and then use simple math to add and subtract.

 

There are literally thousands of examples of how to insert and select data from a database using php already on the web. I suggest you find one and have a go.

 

As far as the math is concerned, if you don't yet understand how to add and subtract, I suggest you forget about learning php for a while and start school over again.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.