|
Posted by Ken Robinson on 11/24/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
[Back to original message]
|