custom page design - setQueryBuilderSource line added
Hi,
I had you guys do some custom coding on one of my pages.
Problem i've been having is that when i open the page in dreamweaver, for some reason, a line of code is added to my recordset code.
The recordset is:
<?php
mysql_select_db($database_conn_dynamic, $conn_dynamic);
$query_rsNext = sprintf("SELECT itemid FROM madelenaitemsforweb WHERE %s %s %s ORDER BY %s %s LIMIT 1", $sortcol, $sortorder == "DESC"?"<":">",$row_WADAmadelenaitemsforweb[$sortcol], $sortcol, $sortorder == "DESC"?"DESC":"ASC");
setQueryBuilderSource($query_rsNext,$WADA_Sort_1,false);
$rsNext = mysql_query($query_rsNext, $conn_dynamic) or die(mysql_error());
$row_rsNext = mysql_fetch_assoc($rsNext);
$totalRows_rsNext = mysql_num_rows($rsNext);
?>
The offending line, which keeps coming back, every time i delete it, then reopen the page is:
setQueryBuilderSource($query_rsNext,$WADA_Sort_1,false);
This line of code throws an error on the resultant php page, which says 'undeclared variable'.
Odd problem. Wonder if you can help?
Thanks,
Ben