Re: Meta Refresh
| From: | Jason Wong | Date: | Fri, 17 Jan 2003 05:24:35 +0000 |
| Subject: | Re: Meta Refresh | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131970@lists.php.net to get a copy of this message | ||
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
*/