![]() |
|
#1
|
|||
|
|||
|
I am trying to add custom php block to a created page.
My page URL is: cmps_index.php?pageid=codetalkers Is there any way i can then use this pageid in mysql query? This way i can have different results depending upon the category name. I want to do: Code:
$randamazon = $db->query("
SELECT amazon_id, amazon_productname, amazon_author, amazon_asin, amazon_rohcat, LEFT(amazon_description,200) AS amazon_description, amazon_filename, amazon_clicks
FROM " . TABLE_PREFIX . "bb1_amazon
WHERE amazon_rohcat = codetalkers
ORDER BY amazon_productname");
__________________
Special Forces Roll Of Honour : http://www.specialforcesroh.com Unofficial Steven Seagal : http://www.steven-seagal.net A-Team Resource : http://www.ateamresource.com |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|