On Wednesday 04 August 2004 11:50, [EMAIL PROTECTED] offered up the following tid-bit of information : > I'm trying to create a links page, and I wanna filter by category. > Anyhoo, > What I need to do, is have one block of code that I repeat ad neaseum, > based on each category, so if I adda new category, I don't need to add > new code... > > All good so far. > So I have a variable $show_links but I wanna change that slightly each > time to include the category name.. eg: $show_links_$category > > But PHP gets all confused... > What can I do to enable that?
Concatenate? http://us4.php.net/manual/en/language.operators.string.php -- John C. Nichel ÜberGeek KegWorks.com 716.856.9675 [EMAIL PROTECTED] -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php