"Dmitry Dulepov [typo3]" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi! > > Nino Katic wrote: >> Dmitry, thx. for reply. Now i see why it is not working as it should :-) >> I'm using aliaspro extension with Typo3 ver. 3.8.1 (i know it is old). >> and this extension is using mysql function to execute mysql queries. Can >> you give me advice what function to use instead so i can try to modify >> this extension. Maybe those functions found in >> typo3/t3lib/class.t3lib_db.php ? Thx. > > If I remember correctly, mysql() function accepts database name and query. > You can change it to $GLOBALS['TYPO3_DB']->sql_query($query). This is the > easiet way. $GLOBALS['TYPO3_DB'] is an instance of t3lib_db, it is a > wrapper for mysql functions and it is connected to current TYPO3 database. > You can also look at $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(). Its > syntax is more complex but it returns you all rows (good if you do not > have to select 1000 rows at once) and it is my favorite for small results > :)
Thx. Dmitry. I have made changes and now it works fine. Regards, Nino _______________________________________________ TYPO3-english mailing list [email protected] http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-english
