Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.php > #11304 > unrolled thread

Where's the error?

Started byrichard <noreply@example.com>
First post2013-10-07 11:46 -0400
Last post2013-12-16 09:32 +0000
Articles 10 — 8 participants

Back to article view | Back to comp.lang.php


Contents

  Where's the error? richard <noreply@example.com> - 2013-10-07 11:46 -0400
    Re: Where's the error? richard <noreply@example.com> - 2013-10-07 11:53 -0400
      Re: Where's the error? Tim Streater <timstreater@greenbee.net> - 2013-10-07 18:10 +0100
    Re: Where's the error? varsha.shakya@gmail.com - 2013-10-13 10:51 -0700
    Re: Where's the error? Moon Elf <moonelf@moonelfsystem.net> - 2013-12-15 19:48 +0000
    Re: Where's the error? Arno Welzel <usenet@arnowelzel.de> - 2013-12-16 00:37 +0100
      Re: Where's the error? Doug Miller <doug_at_milmac_dot_com@example.com> - 2013-12-16 00:22 +0000
      Re: Where's the error? "Peter H. Coffin" <hellsop@ninehells.com> - 2013-12-15 17:57 -0600
        Re: Where's the error? Scott Johnson <noonehome@chalupasworld.com> - 2013-12-15 17:02 -0800
      Re: Where's the error? Tim Streater <timstreater@greenbee.net> - 2013-12-16 09:32 +0000

#11304 — Where's the error?

Fromrichard <noreply@example.com>
Date2013-10-07 11:46 -0400
SubjectWhere's the error?
Message-ID<om738c7flcjn.1d2l72rj3hdjy.dlg@40tude.net>
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.
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?

[toc] | [next] | [standalone]


#11305

Fromrichard <noreply@example.com>
Date2013-10-07 11:53 -0400
Message-ID<1o60wb755cn60.1o4ejtsgnub1a.dlg@40tude.net>
In reply to#11304
On Mon, 7 Oct 2013 11:46:18 -0400, richard 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.
> 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?

Dufus missed a quote, that's why.

[toc] | [prev] | [next] | [standalone]


#11312

FromTim Streater <timstreater@greenbee.net>
Date2013-10-07 18:10 +0100
Message-ID<timstreater-02B988.18101307102013@news.individual.net>
In reply to#11305
In article <1o60wb755cn60.1o4ejtsgnub1a.dlg@40tude.net>,
 richard <noreply@example.com> wrote:

> On Mon, 7 Oct 2013 11:46:18 -0400, richard 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.
> > 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?
> 
> Dufus missed a quote, that's why.

And the fathead has an extra unnecessary comma, too - not that it would 
prevent things from working.

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [next] | [standalone]


#11420

Fromvarsha.shakya@gmail.com
Date2013-10-13 10:51 -0700
Message-ID<22253c47-a7bc-469f-9e56-545f61220118@googlegroups.com>
In reply to#11304
27=>array("1961","7","Pony Time","Chubby Checker","6107.mp3), 

there must be as 
27=>array("1961","7","Pony Time","Chubby Checker","6107.mp3"), 


On Monday, October 7, 2013 9:31:18 PM UTC+5:45, richard 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.
> 
> 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?

[toc] | [prev] | [next] | [standalone]


#12258

FromMoon Elf <moonelf@moonelfsystem.net>
Date2013-12-15 19:48 +0000
Message-ID<slrnlas1qq.nmd.moonelf@sigtrans.org>
In reply to#11304
On 2013-10-07, richard <noreply@example.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. 

[toc] | [prev] | [next] | [standalone]


#12273

FromArno Welzel <usenet@arnowelzel.de>
Date2013-12-16 00:37 +0100
Message-ID<52AE3D2E.5050607@arnowelzel.de>
In reply to#11304
richard, 2013-10-07 17:46:

> 
> 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),

Here is the error - "6106.mp3) - you forgot the closing double quotes.

> 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
> 
[...]
> Where's the error at?

See above. And PLEASE LOOK FIRST, before you ask next time! This
newsgroup is not your personal free proofreading service.


-- 
Arno Welzel
http://arnowelzel.de
http://de-rec-fahrrad.de

[toc] | [prev] | [next] | [standalone]


#12276

FromDoug Miller <doug_at_milmac_dot_com@example.com>
Date2013-12-16 00:22 +0000
Message-ID<XnsA297C5045DEE4dougmilmaccom@78.46.70.116>
In reply to#12273
Arno Welzel <usenet@arnowelzel.de> wrote in news:52AE3D2E.5050607@arnowelzel.de:

> richard, 2013-10-07 17:46:
> 
>> 
>> 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),
> 
> Here is the error - "6106.mp3) - you forgot the closing double quotes.
> 
>> 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
>> 
> [...]
>> Where's the error at?
> 
> See above. And PLEASE LOOK FIRST, before you ask next time! This
> newsgroup is not your personal free proofreading service.

So why do you keep providing him a  personal free proofreading service? Next time, tell 
him his error is that he can't proofread, and let *him* find it.

[toc] | [prev] | [next] | [standalone]


#12277

From"Peter H. Coffin" <hellsop@ninehells.com>
Date2013-12-15 17:57 -0600
Message-ID<slrnlasgev.qs6.hellsop@nibelheim.ninehells.com>
In reply to#12273
On Mon, 16 Dec 2013 00:37:18 +0100, Arno Welzel wrote:
>> 27=>array("1961","7","Pony Time","Chubby Checker","6107.mp3),
>
> Here is the error - "6106.mp3) - you forgot the closing double quotes.
>
>> 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
>> 
> [...]
>> Where's the error at?
>
> See above. And PLEASE LOOK FIRST, before you ask next time! This
> newsgroup is not your personal free proofreading service.

Predicted followup:

"nevermind. it is fixed now."

-- 
This was, apparently, beyond her ken.  So far beyond her ken that she 
was well into barbie territory.
              -- J. D. Baldwin

[toc] | [prev] | [next] | [standalone]


#12280

FromScott Johnson <noonehome@chalupasworld.com>
Date2013-12-15 17:02 -0800
Message-ID<l8ljfo$ksf$3@dont-email.me>
In reply to#12277
On 12/15/2013 3:57 PM, Peter H. Coffin wrote:
> On Mon, 16 Dec 2013 00:37:18 +0100, Arno Welzel wrote:
>>> 27=>array("1961","7","Pony Time","Chubby Checker","6107.mp3),
>>
>> Here is the error - "6106.mp3) - you forgot the closing double quotes.
>>
>>> 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
>>>
>> [...]
>>> Where's the error at?
>>
>> See above. And PLEASE LOOK FIRST, before you ask next time! This
>> newsgroup is not your personal free proofreading service.
>
> Predicted followup:
>
> "nevermind. it is fixed now."
>

LMAO!!!

Thanks I needed that.

Scotty

[toc] | [prev] | [next] | [standalone]


#12284

FromTim Streater <timstreater@greenbee.net>
Date2013-12-16 09:32 +0000
Message-ID<161220130932212501%timstreater@greenbee.net>
In reply to#12273
In article <52AE3D2E.5050607@arnowelzel.de>, Arno Welzel
<usenet@arnowelzel.de> wrote:

> richard, 2013-10-07 17:46:
> 
> > 
> > 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),
> 
> Here is the error - "6106.mp3) - you forgot the closing double quotes.
> 
> > 28=>array("1961","8","Wheels","String-A-Longs","6108.mp3"),
> > 
> [...]
> > Where's the error at?
> 
> See above. And PLEASE LOOK FIRST, before you ask next time! This
> newsgroup is not your personal free proofreading service.

Oh yes it is!

-- 
Tim

"That excessive bail ought not to be required, nor excessive fines imposed,
nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.php


csiph-web