On Friday 17 January 2003 12:45, Edson Waite wrote:
> Hi Jason,
>
> <?php
> $colname_earlytour = "1";
> if (isset($HTTP_GET_VARS['ID'])) {
>   $colname_earlytour = (get_magic_quotes_gpc()) ? $HTTP_GET_VARS['ID'] :
> addslashes($HTTP_GET_VARS['ID']);
> }
> mysql_select_db($database_airforcemuseum, $airforcemuseum);
> $query_earlytour = sprintf("SELECT * FROM early WHERE ID = %s",
> $colname_earlytour);
> $earlytour = mysql_query($query_earlytour, $airforcemuseum) or
> die(mysql_error());
> $row_earlytour = mysql_fetch_assoc($earlytour);
> $totalRows_earlytour = mysql_num_rows($earlytour);
> ?>
>
> This code was inserted by DWMX  when I created the record set "earlytour"
> So I don't know exactly.

What does your complete code look like?

-- 
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *

/*
One good turn asketh another.
                -- John Heywood
*/


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to