Copy link to clipboard
Copied
First some background.
I have a website that has outgrown its designed dimensions and is a huge burden to maintain. See PPBM5 Benchmark
There is a lot of maintenance work involved, so I'm investigating a PHP/MySQL approach to easen the burden and to add functionality to the site. With the current Excel based structure and over 420 entries, it is cumbersome for me to maintain, but also for users to find what they need.
A MySQL based dynamic structure is a lot easier and offers vastly more selection capabilities, like selecting only records that meet specific criteria.
Data submission is done with a form, that contains most of the relevant data, but the drawack is that people submitting their data are often not technically inclined, give wrong answers due to a lack of understanding or making typo's. The test results are attached in one or two separate .txt files, but often they have not read the instructions correctly or did something wrong, so these attached .txt files can not be trusted automatically, they have to be checked before inclusion.
These were my initial thoughts:
1. Data collection:
2. Data submission:
3. Adding to Database:
4. Publication of the database:
5. Ideally, external links:
is what I want to achieve.
This being my first exposure to PHP/MySQL, you can imagine I'm not clear on how to go from here.
Added complication is that I actually have 5 numbers to insert per record and two calculated fields, Total Score and RPI should be calculated fields. Haven't yet figured out how to handle calculated fields, maybe only in the PHP/HTML code and not in the database.
I hope someone can help me.
Copy link to clipboard
Copied
No suggestions at all???
Copy link to clipboard
Copied
Harm,
I have read your problem before and I am glad to hear that you are moving your data in this direction. However, due to the size and complexity of your situation and the necessary time that would need to be devoted to such a project, I believe, and believe that others may feel the same, that your project warrants outsourced/contract help. The amount of data you maintain, plus the migration and then the programming of a backend to replace Excel requires full-time attention (albiet temporary). Not many topics on these forums that go that in depth last long because it scares the average poster away when many do it for a living and have other large projects to attend to.
Copy link to clipboard
Copied
You do have a very complex looking site and may need several tables in mysql to handle all that data. If you knew to phpmysql I would suggest taking a look at this tutorial it will help get you started in understanding how to $_GET info from a database and also how to $_POST data to a database. I am no expert just learning myself and I found this very helpful. This is the link http://www.adobe.com/devnet/dreamweaver/articles/first_dynamic_site_pt1.html
There are also many tutorials on Youtube to help build a CMS Content Management Site I would suggest the following: -
http://www.youtube.com/user/phpacademy
http://www.youtube.com/user/betterphp
http://www.youtube.com/user/flashbuilding
And many more on my channel here
http://www.youtube.com/user/Whisperingonthewind
CMS's are easier to maintain, add edit and delete content.
I have also recently bought a Book by David Powers Training from the Source very helpful.
Anyway hope you get it sorted.
Copy link to clipboard
Copied
Update: With a lot of manual labour I got all the existing data into the MySQL database and for new submissions it is now handled automatically.
Data are now automatically added to the database like this:
and the individual results are reported back to the submitter.
Two major hurdles to take now:
1. Importing 'old' - non-form based - submissions into the database, and
2. Designing the pages to access the database.
After that, it is all cosmetics. Adding the statistical measures and color gradients, based on the query, etc.