SEO-Board: Free, Fast and Search Engine Optimization Friendly Forum Script
»User: »Password:   Remember Me? 
SEO-Board Forum Software Community / General / Programming / Help Isolating Category Name
Posted:  22 Dec 2009 18:21
Bear with me I'm not sure how to explain this right. I'm trying to learn php.

Anyway, I need to get the category name like I've gotten $title

I have a javascript on my board to pull in some related products on my superhero board. I put the $title in the output, but it only works part of the time because the search results or title might be something like "Iron Man is cool" vs just "Iron Man" So I figured if I could just get the category name "Iron Man" or "Superman" etc for example to populate the search request in the javascript, but I've looked and looked and I can't figure out how to do that. Maybe I'll understand it better when I take my php class this coming year, but any help would be greatly appreciated.

Code:

<script src="http://mysite/search/database.php?srch=$title&pg=1"> </script>                                     
<script> fnPrintProducts(); </script>

__________________
web tips at Webmaster Tips or talk about television at  TVcrazy.net TV Board
Posted:  02 Feb 2010 16:13
Ok, this is nearly 5 years later... I hope your classes helped out
__________________
~ Be kind, please rewind! ~