ajax show/hide link now works, also some syntax changes on php