fix indent; add wspace to sql
make title not have to be unique; fix walkdetail

* Make `walkDetail` query actually take into account `$id`
* Remove complicated SQL in favour of `mysql_insert_id()`