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

Home » Imported messages » comp.lang.php » Yet another error for some unknown reason
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Yet another error for some unknown reason [message #183083] Mon, 07 October 2013 16:10 Go to previous message
Mr Oldies is currently offline  Mr Oldies
Messages: 241
Registered: October 2013
Karma:
Senior Member
<?php

$playme=array(
1=>array("1960","1","A Summer Place","Percy Faith Orch","6001.mp3"),
2=>array("1960","2","He'll Have To Go","Jim Reeves","6002.mp3"),
3=>array("1960","3","Cathy's Clown","Everly Brothers","6003.mp3"),
4=>array("1960","4","Running Bear","Johnny Preston","6004.mp3"),
5=>array("1960","5","Teen Angel","Mark Dinning","6005.mp3"),
6=>array("1960","6","It's Now Or Never","Elvis Presley","6006.mp3"),
7=>array("1960","7","Handy Man","Jimmy Jones","6007.mp3"),
8=>array("1960","8","I'm Sorry","Brenda Lee","6008.mp3"),
9=>array("1960","9","Stuck On You","Elvis Presley","6009.mp3"),
10=>array("1960","10","The Twist","Chubby Checker","6010.mp3"),
11=>array("1960","11","Everybody Is Somedbody's Fool","Connie
Francis","6011.mp3"),
12=>array("1960","12","Wild One","Bobby Rydell","6012.mp3"),
13=>array("1960","13","Greenifelds","Brothers Four","6013.mp3"),
14=>array("1960","14","What In The World's Come Over You","Jack
Scott","6014.mp3"),
15=>array("1960","15","El Paso","Marty Robbins","6015.mp3"),
16=>array("1960","16","Alley Oop","Hollywood Argyles","6016.mp3"),
17=>array("1960","17","My Heart Has A Mind Of Its Own","Connie
Francis","6017.mp3"),
18=>array("1960","18","Sweet Nothin's","Brenda Lee","6018.mp3"),
19=>array("1960","19","Itsy Bitsy Teenie Weenie Yellow Polka Dot
Bikini","Brian Hyland","6019.mp3"),
20=>array("1960","20","Only The Lonely","Roy Orbison","6020.mp3"),
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"),
29=>array("1961","9","Raindrops","Dee Clark","6109"),
30=>array("1961","10","Wooden Heart","Joe Dowell","6110.mp3"),
31=>array("1961","11","Calcutta","Lawrence Welk","6111.mp3"),
32=>array("1961","12","Take Good Care Of My Baby","Bobby Vee","6112.mp3"),
33=>array("1961","13","Running Scared","Roy Orbison","6113.mp3"),
34=>array("1961","14","Dedicated To The One I Love","The
Shirelles","6114.mp3"),
35=>array("1961","15","Last Night","Mar-Keys","6115.mp3"),
36=>array("1961","16","Will You Love Me Tomorrow","Shirelles","6116..mp3"),
37=>array("1961","17","Exodus","Ferrante and Teicher","6117.mp3"),
38=>array("1961","18","Where The Boys Are","Connie Francis","6118.mp3"),
39=>array("1961","19","Hit The Road Jack","Ray Charles","6119.mp3"),
40=>array("1961","20","Sad Movies (Make Me Cry)","Sue Thompson","6120.mp3")

)



$numbers = range(1, 40); <<<- parse error here?
shuffle($numbers);
foreach ($numbers as $number) {
echo "$number \n";
}
?>


It worked fine with keys 1 through 20.
It failed when I added keys 21 through 40.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: A general note on invalid.com and others like it
Next Topic: How to link properly?
Goto Forum:
  

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

Current Time: Wed Nov 27 16:09:53 GMT 2024

Total time taken to generate the page: 0.09718 seconds