
02-14-2006, 11:18 AM
|
 |
|
|
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by leitel
Thank you for your responce.
I would like for example to present one record using a WebTemplates page that is based on a single query that receives from the URL the record id.
I am using vB 3.53 and WebTemplates 3.5.x.
Code:
Query:
SELECT name FROM people WHERE id = $nameid ORDER BY name DESC LIMIT 1
PHPInclude:
$nameid = a value i pull off of the address string
Example URL:
www.noblood.org/forum/view.php?pg=test&nameid=9999
|
Use this in phpinclude:
PHP Code:
$vbulletin->input->clean_gpc('r', 'nameid', TYPE_INT);
$nameid = $vbulletin->GPC['nameid'];
More info here:
https://vborg.vbsupport.ru/showpost....3&postcount=93
|