You are here: Parse Error « PHP Programming Language « IT news, forums, messages
Parse Error

Posted by Mike Schumann on 10/12/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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация