If I may post something I think is not really correct (but hey, here comes a PHP/SQL noob):
/******/
--- Converting members...
/*******/In this code, it looks like you make a multiline comment, close it immediately, make a --- statement, and do the same as before...
Is the --- statement used for displaying stuff, or is it another comment?