MotoX5874 Posted January 21, 2009 Share Posted January 21, 2009 hi, i'm very inexperienced when it comes to mysql, i've only really set up databases via a control panel to use for forum software and such. i've been tasked with creating equations for the totals of certain information. basically, users will fill out a report form, and the results will end up looking something like this: http://www.glfwda.org/Tailgate/tailgateview.php from these results, i'm going to be making a small box on the front of a forum that compiles the totals of a few select items, such as miles traveled, money spent on fuel, money spent on food, and a couple others that my admin wants... if someone could start me off, i feel confident i can figure out how to get the rest. thanks much, brian Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/ Share on other sites More sharing options...
corbin Posted January 22, 2009 Share Posted January 22, 2009 I'm confused.... How does this involve an equation? So you basically want to insert stuff into a MySQL table and then select it back later? How much do you know? Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/#findComment-742887 Share on other sites More sharing options...
MotoX5874 Posted January 22, 2009 Author Share Posted January 22, 2009 i'll admit, not a lot i guess not an equation, that's what it was called by the person who gave me the task i basically want to total up and display certain cells from the database on a different page Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/#findComment-742970 Share on other sites More sharing options...
Mchl Posted January 22, 2009 Share Posted January 22, 2009 So you're up to create a query Do you know how to create a simple SELECT query? Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/#findComment-743055 Share on other sites More sharing options...
MotoX5874 Posted January 23, 2009 Author Share Posted January 23, 2009 no, but i just started reading up on it, hopefully by the time you get back to me ill have a better understand of it Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/#findComment-744674 Share on other sites More sharing options...
Mchl Posted January 23, 2009 Share Posted January 23, 2009 Ok. Take your time, and just ask if you have any problems. Quote Link to comment https://forums.phpfreaks.com/topic/141850-mysql-equations/#findComment-744815 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.