I'm new to PHP, how many mistakes am I making?
github.com
With no prior experience writing code in PHP, please let me know how to improve and what to look into next. Live: http://api.inoads.com/snowstorm/
github.com
insert.php writes to the database. You may want to wrap that inside some kind of session checking so that only logged-in users are allowed to run the insert. As it is now, anybody could send parameters to the script and it would run an insert.
You may also want to create some protection against a double-insert.
"break" is repeated in index.php characterData() case TITLE. This won't cause any problems but it reminds me that PHP lets you say "break 2" to break out of two layers of looping, if you ever need to do that.