You are here: Re: Newbe needs help « PHP Language « IT news, forums, messages
Re: Newbe needs help

Posted by Ken Robinson on 11/25/02 11:26

Seen <spoonfed@net.com> wrote in news:34i7i11rcifp6bcbuu7u8qn2p6ptb77n0c@
4ax.com:

> Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE,
> expecting T_STRING or T_VARIABLE or T_NUM_STRING in
> /home/fooweb/public_html/lanet/PHP/membership6.php on line 308
>
> The code is:
> 302 // Print select and options statements for state or pay methods
> 303 function input_select($element_name, $selected, $size, $options,
> $tabn) {
> 304 //print out select tag
> 305 // print '<select name="' . $element_name . '" size="' . $size .
> '" tabindex="' . $tabn '">';
> 306 // set up list of things to be selected
> 307 // $selected_options = array();
> 308 // $selected_options[ $selected[$element_name] ] = true;

Your actual error is in line 305. You need a period between the "$tabn"
and the next single quote.

It's much easier for us to figure these things out if you just post your
original code and then tell us what line PHP pointed to.

Ken

 

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

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