<?=$value?> will only work one some php settings.. so it's best to use <?Echo($value);?>.. but for your problem I think it's the mysql query.. I made alot of notes to atholon in another thread please read that.. it can be found here.
http://www.novahq.net/forum/showthre...threadid=26098