"AL BROWNS TUNETOPPERS"=> <<<<< why is this wrong?
array(
'track'=>"The Madison",
'flip'=>"Mo Madison",
'label'=>"Amy 804",
'author'=>"Al Brown",
'entry'=>"4/4/1960",
'peak'=>"23",
'weeks'=>"12")
Broken down this way, the error still points to the same line.]]>Mr Oldies2013-12-15T20:45:02-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184224&th=123333#msg_184224
>
>
> "AL BROWNS TUNETOPPERS"=>array( 'track'=>"The Madison", 'flip'=>"Mo
> Madison", 'label'=>"Amy 804",'author'=>"Al Brown", 'entry'=>"4/4/1960",
> 'peak'=>"23", 'weeks'=>"12")
>
> Parse error: unexpected T_CONSTANT_ENCAPSED_STRING
>
> Why?
>
Because it's not a legal statement.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp. jstucklex@attglobal.net
==================]]>Jerry Stuckle2013-12-15T20:45:29-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184227&th=123333#msg_184227
> On Sun, 15 Dec 2013 15:35:35 -0500, richard wrote:
>
>> "AL BROWNS TUNETOPPERS"=>array( 'track'=>"The Madison", 'flip'=>"Mo
>> Madison", 'label'=>"Amy 804",'author'=>"Al Brown", 'entry'=>"4/4/1960",
>> 'peak'=>"23", 'weeks'=>"12")
>>
>> Parse error: unexpected T_CONSTANT_ENCAPSED_STRING
>>
>> Why?
>
>
> "AL BROWNS TUNETOPPERS"=> <<<<< why is this wrong?
> array(
> 'track'=>"The Madison",
> 'flip'=>"Mo Madison",
> 'label'=>"Amy 804",
> 'author'=>"Al Brown",
> 'entry'=>"4/4/1960",
> 'peak'=>"23",
> 'weeks'=>"12")
>
> Broken down this way, the error still points to the same line.
>
What are you expecting it to do?
It is a little hard to figure out the problem as it looks like you are
not giving us even a complete statement.
there is no ; at the end of the statement.
the string => value is only used inside an array operator, but you are
showing it as the "start" of your "statement".
If this is something even close to working, my guess is the line before
is part of the statement, and somewhere earlier is the array operator.
Maybe you are missing the comma at the end of the previous element.]]>Richard Damon2013-12-15T21:29:20-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184228&th=123333#msg_184228
> On 12/15/13, 3:45 PM, richard wrote:
>> On Sun, 15 Dec 2013 15:35:35 -0500, richard wrote:
>>
>>> "AL BROWNS TUNETOPPERS"=>array( 'track'=>"The Madison", 'flip'=>"Mo
>>> Madison", 'label'=>"Amy 804",'author'=>"Al Brown", 'entry'=>"4/4/1960",
>>> 'peak'=>"23", 'weeks'=>"12")
>>>
>>> Parse error: unexpected T_CONSTANT_ENCAPSED_STRING
>>>
>>> Why?
>>
>>
>> "AL BROWNS TUNETOPPERS"=> <<<<< why is this wrong?
>> array(
>> 'track'=>"The Madison",
>> 'flip'=>"Mo Madison",
>> 'label'=>"Amy 804",
>> 'author'=>"Al Brown",
>> 'entry'=>"4/4/1960",
>> 'peak'=>"23",
>> 'weeks'=>"12")
>>
>> Broken down this way, the error still points to the same line.
>>
>
> What are you expecting it to do?
>
> It is a little hard to figure out the problem as it looks like you are
> not giving us even a complete statement.
>
> there is no ; at the end of the statement.
NOT required!
As this is only part of a large array.
the ; is included at the end of the main array, not sub arrays.
>
> the string => value is only used inside an array operator, but you are
> showing it as the "start" of your "statement".
=> defines a "key". Yes ut us ubsude if abiter arrat,
>
> If this is something even close to working, my guess is the line before
> is part of the statement, and somewhere earlier is the array operator.
> Maybe you are missing the comma at the end of the previous element.
My guess is that I had an extra ) where it wasn't supposed to be.
Anyways, it's fixed now.]]>Mr Oldies2013-12-15T22:00:50-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184229&th=123333#msg_184229
> => defines a "key". Yes ut us ubsude if abiter arrat,
Please return to your keyboard after you have sobered up.
--
-bts
-This space for rent, but the price is high]]>Beauregard T. Shagnas2013-12-15T22:12:11-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184231&th=123333#msg_184231
>
> NOT required!
> As this is only part of a large array.
> the ; is included at the end of the main array, not sub arrays.
>
The problem with your question was you didn't give the full statement in
error!!!
Errors of things being "unexpected" are very likely due to an error
earlier in the statement, so that is MUCH more important to show that
then what follows (which PHP hasn't even processed yet, so very unlikely
to be part of the error). I would consider as a minimum to the preceding
open parenthesis that is still open at this point.]]>Richard Damon2013-12-15T22:47:43-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184235&th=123333#msg_184235
noreply@example.com> wrote in news:y6f80mwt1wd7$.16vfo5w72r128.dlg@
40tude.net:
Because -- as usual -- you botched up your string quoting somewhere, and can't proofread.
Most likely, the error is in the line immediately *before* the fragment you posted here.]]>Doug Miller2013-12-16T00:18:56-00:00Re: parse error can't find
http://fudforum.org/forum/index.phpindex.php?t=rview&goto=184239&th=123333#msg_184239
> richard <noreply@example.com> wrote in news:y6f80mwt1wd7$.16vfo5w72r128.dlg@
> 40tude.net:
>
>>
>>
>> "AL BROWNS TUNETOPPERS"=>array( 'track'=>"The Madison", 'flip'=>"Mo
>> Madison", 'label'=>"Amy 804",'author'=>"Al Brown", 'entry'=>"4/4/1960",
>> 'peak'=>"23", 'weeks'=>"12")
>>
>> Parse error: unexpected T_CONSTANT_ENCAPSED_STRING
>>
>> Why?
>
> Because -- as usual -- you botched up your string quoting somewhere, and can't proofread.
>
> Most likely, the error is in the line immediately *before* the fragment you posted here.
>
I don't know about you, but this stuff never seems to get old. It is
like watching a car wreck, over and over.