You should be able to use the addon in a PHP page. However the actual SQL error is being masked. If you've can view the MySQL error log from your admin menu (if you are on 6.2) that should show you the real error and give more clues.

<img border="0" title="" alt="[Wink]" src="images/icons/wink.gif" />

Josh
www.joshuapettit.com
ThreadsDev.com Administrator | InfoPop Community Moderator
Register to see my How To/Site Help Library Forum at ThreadsDev.com.
My threads 'tweaking' abilities are for hire for upgrades, tweaks and modifications.