Keeping it simple (and repeating what was said a few times in the other thread, most recently and cleanly by laserlight):
Generate a salt, append it to the user's password, store the salt and the computed hash of the (salt + password) combination. To then check a given password, retrieve the salt, append it to the given password, compute the hash, compare that computed hash value to the one stored in the DB.