[PHP-DB] Advantage Database Server

2002-02-26 Thread Stewart Gateley
Has anybody had any luck or tried connecting to ADS from PHP? What is required? Thanks, Stewart __ Do You Yahoo!? Yahoo! Greetings - Send FREE e-cards for every occasion! http://greetings.yahoo.com -- PHP Database Mailing List (http://www.php.ne

Re: [PHP-DB] variable interpolation in mysql queries

2002-02-26 Thread Stewart Gateley
First of all that should throw an error, correct syntax is mysql_result ($query, 0) meaning to grab the 0 index returned. I am not sure about performance wise, however I dislike mysql_result since if nothing is returned then you get a runtime error. Instead I like to use list($pd) = mysql_fetch_