Search found 5 matches

by rbx
Thu Nov 13, 2008 11:53 am
Forum: Miscellaneous
Topic: sports results webservice/API
Replies: 2
Views: 2668

Re: sports results webservice/API

looks exactly what I am looking for, thanx!
by rbx
Wed Nov 12, 2008 6:47 pm
Forum: Miscellaneous
Topic: sports results webservice/API
Replies: 2
Views: 2668

sports results webservice/API

Hi all, hope u don't mind to post this topic here. I need to grab sport results (like NBA, MLB etc.) and save to my db. I can do it by parsing HTML code with results on servers like sports.yahoo, sportsline etc., but does anybody know if there is some free web service or API for this purpose? For ex...
by rbx
Wed Nov 05, 2008 10:46 am
Forum: PHP - Code
Topic: SORTING ISSUE OF COMPLEX ARRAY
Replies: 3
Views: 247

Re: SORTING ISSUE OF COMPLEX ARRAY

In this case I usually create a 1-dim reference array that contains same keys as top-level keys of original array and values fill with values to be sorted. Then sort this array and you have access-array to your original array that defines desired order. Example, say we that your original array is st...
by rbx
Mon Nov 03, 2008 7:12 pm
Forum: PHP - Code
Topic: Sharing classes
Replies: 4
Views: 281

Re: Sharing classes

I cannot use option one because there is no such relationship between the two classes. Actually I am usually using opt 3, just wanted to know if there is some better way. Thanks
by rbx
Mon Nov 03, 2008 4:58 pm
Forum: PHP - Code
Topic: Sharing classes
Replies: 4
Views: 281

Sharing classes

I would like to know your opinion about the following problem: There are 2 classes, say we class A and class B. I need to use object of class A inside the class B. Most important for me is usability and flexibility of the code. For example I don't think that implementation like create objects A and ...