I thought I had seen this somewhere else but I couldn't locate it. I have this in my pto_featured.php file.
$sql = "SELECT name,1 AS sequence FROM `".$pto_config_databaseTablePrefix."products` ORDER BY RAND() LIMIT 50";
and would like to change the random to a specific search term such as HALLOWEEN. How do I do that again?
Awesome support as always! That works great. Thank you!!!
Hi there,
Have a go with:
$sql = "SELECT name,1 AS sequence FROM `".$pto_config_databaseTablePrefix."products` WHERE name LIKE '%HALLOWEEN%' ORDER BY RAND() LIMIT 50";
Cheers,
David.
--
PriceTapestry.com