Back when I was always doing PHP work, even if I was going to be the only one ever using the page, I always sanitized out of habit. I personally feel thats a good thing though
It has lots of so many unwanted features in it that over complicate things. I don't really know how makefiles work I heard about them but I never actually learned to use them. I already had MinGw installed so I decided to use that
Ill look into it as I don't know the use of command prompt nor its features available. Im using command prompt only because I don't wanna use codeblocks nor Visual C++ as its a tough job to get them supporting allegro library and none of their interfaces really suit my needs. I found that Notepad++ was really the easiest for me to use as it didn't have tons of features and it had a larger window for typing code which appealed much more to me.
I did just find 1 potentially site breaking problem.
For the sorting method, I notice you pull the DESC or ASC straight from the URL. This is very dangerous, because (I didn't try anything to break it) I just put a random string in there and it returned a MySQL error, which means that you are putting that string straight into SQL. A better way would be to have maybe order=1 and then use a switch/case statement to say:
switch($_GET['sort']) {
case 1: $order="ASC"; break;
case 2: $order="DESC"; break;
default: $order="ASC";
}
The "onInput" method adds input input processing to an object. The first parameter is the name of the input for reconfiguration (ie. Think "Attack" button or "Cast Spell A"), the second one is which input, in this case, K (keyboard) P (button press) I (the 'I' key on the keyboard), and the third parameter is the code to fire on the object when the input occurs. So off memory, it's like KP (keyboard press) KR (?) (keyboard release), etc. There's also Mouse and Joystick, lol.
Well they gave me a snow blower but it was too wet to do much with with other than compact everything. Oh well, the cop cars can get into there now when they arrest people I guess