To add to ﻼim's answer you might want to also add on a die() or error reporting system for the query:
$result = mysql_query("SELECT Pass FROM wiki WHERE User like '$user'") or die(mysql_error());
That way if it does error, it'll stop loading the page and display what error happened so you know where to look or what actually happened. Note though that this will only fire if the error occurs inside the query itself.
Reputation Points: 23
Solved Threads: 21
Junior Poster in Training
Offline 99 posts
since Aug 2010