stevehof
11th of February 2003 (Tue), 11:17
Hi, I'd like to to have listings page display something like the following text:
22 photos found in category "lions" by your search.
The following code prints out the selected category ID number. Naturally, I'd like it to print the category NAME. Admittedly, I'm only a novice php hacker...:^)
if ($s_simplenavigation_search == "1") {
print " in the category " . "$category" . " by your search.";
}
else { print " in the category . "$category" . ";
Thanks,
22 photos found in category "lions" by your search.
The following code prints out the selected category ID number. Naturally, I'd like it to print the category NAME. Admittedly, I'm only a novice php hacker...:^)
if ($s_simplenavigation_search == "1") {
print " in the category " . "$category" . " by your search.";
}
else { print " in the category . "$category" . ";
Thanks,