The problem turned out to be that the query contained finalized and unfinalized data. I have just started using the code submission to take advantage of the API's. The issue just surface but was resolved quickly with the following code.
This resolved the problem:
<?php
$colname_auction = "-1";
if (isset($_GET['bid'])) {
$colname_auction = (get_magic_quotes_gpc()) ? $_GET['bid'] : addslashes($_GET['bid']);
}
mysql_select_db($database_auction, $auction);
$query_auction = sprintf("SELECT * FROM ft_form_2 WHERE bid > '%s' ORDER BY bid DESC", $colname_auction);
$auction = mysql_query($query_auction, $auction) or die(mysql_error());
$row_auction = mysql_fetch_assoc($auction);
$totalRows_auction = mysql_num_rows($auction);
?>
Thanks for all your hard work!!!
This resolved the problem:
<?php
$colname_auction = "-1";
if (isset($_GET['bid'])) {
$colname_auction = (get_magic_quotes_gpc()) ? $_GET['bid'] : addslashes($_GET['bid']);
}
mysql_select_db($database_auction, $auction);
$query_auction = sprintf("SELECT * FROM ft_form_2 WHERE bid > '%s' ORDER BY bid DESC", $colname_auction);
$auction = mysql_query($query_auction, $auction) or die(mysql_error());
$row_auction = mysql_fetch_assoc($auction);
$totalRows_auction = mysql_num_rows($auction);
?>
Thanks for all your hard work!!!