Advertisement

01.20.2008 at 06:10PM PST, ID: 23097308
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.4

php html forms losing data

Asked by NTNBower in PHP Scripting Language, WebApplications

Tags: ,

I have two php scripts:
present_form.php
create_graph.php

What I was trying to do, was create a way for users to enter data for a graph that then gets plotted using Advanced Graphing Class for php.

I load present_form.php (which displays three columns: Day, Forecast, Actual - day is just a display of Day 1, Day2 etc... Forecast & actual are column's of empty html fields). The idea is that the users will enter all the forecast numbers for each day of  the month. Then they will come back daily and enter their daily actuals amounts  in the last column (Actual).

So I have it where the form is displayed, I enter the data, click submit and it gets sent to create_graph.php via post where the data is written to a text file data.txt on the server and then plotted to a png file for display.  

When I reload Present_form.php, (by any means) it checks for the data file, and then loads any data found into the appropriate fields, I can then add my daily stuff, click submit again and everything disappears. When create_graph.php runs again, it writes zero information to the file, and my charts have no data. I am sure I am missing some thing very basic that my beginner head cannot get around.

Any help is greatly appreciated - if you truly want/need to see the horrific code I am using to help determine the problem, let me know and I can post it.Start Free Trial
[+][-]01.20.2008 at 06:32PM PST, ID: 20703507

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]01.20.2008 at 06:48PM PST, ID: 20703545

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2008 at 10:17AM PST, ID: 20708110

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]01.21.2008 at 12:13PM PST, ID: 20709211

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Scripting Language, WebApplications
Tags: php html, firefox 2.0
Sign Up Now!
Solution Provided By: NTNBower
Participating Experts: 2
Solution Grade: B
 
 
[+][-]01.21.2008 at 01:14PM PST, ID: 20709742

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628