Php script to .....

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
kobomarun
Forum Newbie
Posts: 2
Joined: Mon Mar 28, 2011 5:17 am

Php script to .....

Post by kobomarun »

hello there,
My name is Femi and am a web developer using php. am working on a project. and am having some difficulties. i dont know if you can help me out with it.

The platform am building will receive a text message and the format of the text message is "shoe, 40, bag, 5, tea,1" without quotes, and it may be longer than that.
Now how do i get it to my database table and re-arrange them in order, because at the end of each day, the total number of shoe will be calculated and every other one too will be calculated. And also they will be called out individual in the website.
Thanks.. Hope to hear from you soon.
danwguy
Forum Contributor
Posts: 256
Joined: Wed Nov 17, 2010 1:09 pm
Location: San Diego, CA

Re: Php script to .....

Post by danwguy »

Where are those values coming from? a file? post? get? how are you getting that data? that will help on how you can set up a script to add it to the database and then calculate the totals at the end of the day. what tables do you already have in your database?
Post Reply