FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » parse error can't find
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: parse error can't find [message #184227 is a reply to message #184225] Sun, 15 December 2013 21:29 Go to previous messageGo to previous message
Richard Damon is currently offline  Richard Damon
Messages: 58
Registered: August 2011
Karma:
Member
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.

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.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: YouTube script quits displaying "Tags" info
Next Topic: Where's the error?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 08 00:12:53 GMT 2024

Total time taken to generate the page: 0.04686 seconds