I was reading a book on PHP just to get some ideas for a re-design I’m doing for a client, when I thought of this.
Although I think of PHP as something you use to put stuff into a database and take it out – data entry of client records, reports of total sales – it is possible to use without any SQL intervention.
You can enter data in a form, call another file and use the data entered to determine what you show in that file. The basic examples used to teach are trivial – a page asks what’s your name and the next page that pops up says, “Howdy” + your name .
Generally, when a player answers a question, the answer is written to our database and the next step depends on whether the answer was correct. Correct, go on with the game. Incorrect, pick one of these choices to study the concept you missed. Because schools use our games, they want this database setup so they can get reports by student, classroom, grade or school.
I could also use PHP.
In the case where we drop out the database interface altogether, is there a benefit to keeping PHP? I couldn’t think of one.
Still thinking about this question.