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

Home » Imported messages » comp.lang.php » Where's the error?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Where's the error? [message #184218 is a reply to message #183081] Sun, 15 December 2013 19:48 Go to previous messageGo to previous message
Moon Elf is currently offline  Moon Elf
Messages: 6
Registered: December 2013
Karma:
Junior Member
On 2013-10-07, richard <noreply(at)example(dot)com> wrote:
>
> 21=>array("1961","1","Tossin' And Turnin'","Bobby Lewis","6101.mp3"),
> 22=>array("1961","2","I Fall To Pieces","Patsy Cline","6102.mp3"),
> 23=>array("1961","3","Michael","Highwaymen","6103.mp3"),
> 24=>array("1961","4","Crying","Roy Orbison","6104.mp3"),
> 25=>array("1961","5","Runaway","Del Shannon","6105.mp3"),
> 26=>array("1961","6","My True Story,","Jive Five","6106.mp3"),
> 27=>array("1961","7","Pony Time","Chubby Checker","6107.mp3),
> 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
>
> When run, I get a parse error "expecting ")"" in the last line.

This is where SQL comes in, you might want to use some database theory for your
extensive use for the field "1961", the counter (SQL: COUNT) and so on.

It's all inside PHP, you better use it. Setting up a MySQL or PostgreSQL
databse is easy on a home machine.

> Notepad++ is indicating that "1961" is a number.
> Because it is highlighted in red when all others are not.
> "28=>array" is shown in grey, not blue as the others.
>
> Where's the error at?

Nest, nest, nest.

ME

--
Member of the DR rogue circle.
Search and you will find.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: parse error can't find
Next Topic: Zip Codes ctype? Pregmatch?
Goto Forum:
  

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

Current Time: Sat Oct 05 16:19:00 GMT 2024

Total time taken to generate the page: 2.29411 seconds