![]() Hello, I have been developing a website that needs to display products online, I was originally going to hand-write the PHP code but I thought it would be more beneficial to make it database orientated as new products can easily be added and a search function becomes possible. I hope i have explained the above clearly, if theirs any thing anyone is unsure of please dont hesitate to ask. Would it be possable to actually grab the exact image from the actuall playstation site, as above? or could the online/offline icons be added to the above code with a background image? Here are images of this codes output and the actuall Freinds list. Im looking for someone to help me with the actually XML object, its very basic and i would, if poss, love to have it looking like the actual PSN freinds list. The error i mentioned above is related to the Code: Ĭurl_setopt ($cc, CURLOPT_FOLLOWLOCATION command, im not to concerned about that at the moment. I found some php script that pulls the freinds list data from the URL mentioned in the code, for now it only works on my local host and i get errors when trying to run it from my live server. I currently run a phpbb Playstation3 gaming forum and was looking for a way to show forum members online status info on a seperate page on my forum. Hi everyone, im looking for some help if anyone can offer it. If not, please provide any critique or recommended changes to my intended approach. If there is a common way to do this, please let me know what it is so I may mimic it. I am undecided whether I should just return an ordered array of the options, or also include either an order integer or some normalized value from 0 to 1. Uncharted territory here and am very open to other approaches. If list1 has a total of 10 records, cap it three times that value resulting in 30), and cap the minimum at zero. To prevent excessive windup, cap the the value to some max value (i.e. To promote recent activity, maybe increment user_list_ranking.ranking every time the user selects a given option and also decrement all other options of the associated list. To retrieve the list options, will query abstract_list and LEFT JOIN user_list_ranking and then sort on some mathematical formula acting on abstract_list.ranking and COALESCE(user_list_ranking.ranking, 0). I will then add another table to join each list to the user. This class has no properties and only a method to cast the public ID as required. public_id (Application responsible to cast as string or integer. public_id (string or integer based on specific list. discriminator (FK to abstract_list.discriminator) name (string unique with discriminator) Any preferences or something else altogether? Starting with the list schema, undecided on which approach below. I have some fragmented ideas how to best implement but would like other people's thoughts on how to best do so. In addition, there will be more than one of these lists and each of these lists will expose a public identifier (most will use a string but some might use an incrementing integer series) instead of the primary key. The client is responsible to determine which ones to display (opposed to hiding within "more choices") and the server is responsible to provide the list of options along with some means to determine which ones are most common.įor a new user, the order will be based on my "best guess", however, whenever a user selects a given option its ranking for that user only should go up, and in addition more recent activities should have more bearing on the returned order. I have several forms which will request the user to select one of several options where the most common choices will be pronounced, and might look something like: The input accept the value only after selecting one of the listed value on the suggesstion box and then i have to click the submit button the problem is, how to submit the value accepted when a list is clicked php code, assume we already run a whole php code
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |