@SrWebDeveloperDec 07.2009 — #Please always use the code or PHP tags when embedding lines of code.
Your question is very hard to follow, so assuming by your second post that you use $alr[fname] for the user's first name, I can only assume you're pulling a field in the same query named "rating" so you'd need:
@MindzaiDec 08.2009 — #Note that for valid XHTML you need to quote all attributes - at the moment you are missing quotes around the src attribute's. value