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!
I have a daughter struggling with simple math at school, and I want to make a web page that she can practice.
It should start with the simplest tasks like addition and subtraction.
You need to name the input and then access it with GET or POST vars. You should also check to see that the form was posted so you don't get notices. Also, you probably don't want to echo the answer:
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.
I want to give this code a new try...
Any suggestions on what I could try to make this work?
My daughter need to work on her math skills over the holidays...
Just a suggestion.... if this is not a project for you and you main goal is provide your daughter with good tools why to waste time trying to re-invent the wheel yourself? ... is a lot of good and free product in the market that she (you) can use immediately ... maybe your should consider alternatives like : http://edubuntu.org/other-educational-systems
all of this alternatives provide a live CD that you can use in your computer without install anything... simple... quick and more efficient for your goal than develop something from scratch in with limited knowledge IMHO.
@mikosiko
I agree with you, however she is very young, so my thought is to make this veeery simple. At first, but later when she gets better, I can try something more advanced.