Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.php > #12258
| Newsgroups | comp.lang.php |
|---|---|
| From | Moon Elf <moonelf@moonelfsystem.net> |
| Subject | Re: Where's the error? |
| References | <om738c7flcjn.1d2l72rj3hdjy.dlg@40tude.net> |
| Message-ID | <slrnlas1qq.nmd.moonelf@sigtrans.org> (permalink) |
| Date | 2013-12-15 19:48 +0000 |
| Organization | SunSITE.dk - Supporting Open source |
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.
Back to comp.lang.php | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
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
csiph-web