CODE:
Parse error: parse error, unexpected '}' in C:\forums\myfile.php on line 23


i was getting this error, i found out how to fix it, it turned out i was missing a } at the end of the function, so to fix it, all i had to do was to insert the } at the and of the fucntion. that's it.