|
Posted by Mike Schumann on 12/20/65 11:44
I have the following PHP code:
<?php
class zen_categories_ul_generator {
var $root_category_id = 0,
$max_level = 6,
$data = array(),
$root_start_string = '',
$root_end_string = '',
$parent_start_string = '',
$parent_end_string = '',
$child_start_string = '<li%s>',
$child_end_string = '</li>'."\n",
$spacer_string = '',
$spacer_multiplier = 1;
etc..........
I am getting a parse error in this line:
$child_end_string = '</li>'."\n",
PHP doesn't like the period character.
I am running PHP Ver 4.4.2
Does anyone have any ideas what is going on?
Thanks,
--
Mike Schumann
Navigation:
[Reply to this message]
|