Quote:
Originally Posted by Dismounted
range_resultbit
Code:
<br />Title: $row[title]
range_results
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
<title>$vboptions[bbtitle]</title>
$headinclude
</head>
<body>
$header
$navbar
<p>Results:
$templatebits</p>
$footer
</body>
</html>
PHP Code:
$templatebits = '';
$data = $vbulletin->db->query_read("
SELECT *
FROM gun_ranges
WHERE state = '" . $vbulletin->db->escape_string($state) . "'
LIMIT 5
");
while ($row = $vbulletin->db->fetch_array($data))
{
eval('$templatebits .= "' . fetch_template('range_resultbit') . '";');
}
eval('print_output("' . fetch_template('range_results') . '");');
|
YES!!! It works. Thanks! I owe you a beer if you're ever in the Baltimore area.
Tiger: You too buddy!