Re: [Dave] Drop-Down Menu Reset Woe!
Hi, Dave -
Thanks for the the tips and the code. However I'm not sure how the latter would help as the problem I'm experiencing occurs in the back-end - not the rendered pages.
I've just tried using the code and there appears to be an error in the line hi-lighted below:
list($advertRecords, $advertMetaData) = getRecords(array(
'tableName' => 'adverts',
'where' => 'num = "{$record['advertNum']}"',[/#ff0000]
'limit' => '1',
));
$myAdvert = @$advertRecords[0]; // get first record
Which generates the following error message...
Parse error: syntax error, unexpected T_STRING, expecting ')' in /homepages/...
Any clues?
:o(
Perch