I'm not versed enough in MySQL and Dolphin... with that said.
Can someone tell me if this will work with 7.1.x?
$sqlQuery = "SELECT `bx_events_main`.`ID` FROM `bx_events_main` WHERE `bx_events_main`.`ResponsibleID` = '{$iProfileId}' ORDER BY `bx_events_main`.`Date` DESC LIMIT 1";
Has any of this changed? This is taken from a module written for 7.0.x, I'm getting an error.
Found error in the file '/home/public_html/modules/*/*/classes/the_file_in_question.php' at line 1286.
Called 'db_res' function with erroneous argument #0.
Debug backtrace:
Array
(
[1] => Array
(
[file] => /home/public_html/inc/classes/BxDolDb.php
[line] => 237
[function] => error
[class] => BxDolDb
[object] => BxDolDb Object
(
[error_checking] => 1
[error_message] => You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
943952400,
1,
'',
'Event, Party',
'' at line 46