Modify Some PHP Scripting
Budget $250-750 USD
- Freelancer
- Jobs
- PHP
- Modify Some PHP Scripting
Here is what I need done:
//Page IDs to be randomly hidden go here. Make sure they are comma separated, no spaces, and inside quotes.
%%pagesHideRan = “5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29" ;
//Number of pages you want shown from the list above. No quotes or commas are needed.
%%shown = 3;
//Pop out the three randomized pages.
%%arr = sgapiExplode(',',%%pagesHideRan);
sgapiShuffle(%%arr);
foreach(%%arr as %%page)
{
sgapiHidePage(%%page,true);
}
for (%%i=0; %%i<%%shown; %%i++)
{
sgapiHidePage(%%arr[''.%%i],false);
}
What I need to do is to ensure that the random three pages does not include any two products from the same group classification. The following are the seven groups and the two product survey pages for each product.
Group A Pages 6 and 7
Group B Pages 8 and 9
Group C Pages 10 and 11
Group D Pages 14 and 15
Group E Pages 16 and 17
Group F Pages 18 and 19
Group G Pages 23 and 24
In my prior platform I would do this via java script using script that is summarized in the attached note.
Awarded to:
Hi, I have made demo on this page [login to view URL] , this is PHP but i can convert to javascript. Refresh page to see how change data. If you have question you can contact me. Regards
17 freelancers are bidding on average $346 for this job
I have read your project details, and I am interested in offering my services. I provide 100% satisfaction guaranteed on all my work. Milestone is required to begin; to be released when the job has been satisfactor More
Hello! With 99% completion rate, 740 successfully completed projects, and a 5.00 reputation (maximum possible, 5.0) (Yes, not even 4.99 average rating, can be verified on my profile page https://www.freelancer.com/u More
Expert here! I can assist you with this. Can you please reply back so can discuss? Please find my portfolio at: [login to view URL] Should you have any questions please feel free to ask. Lo More
hi we could do it perfectly with accuracy, please let us know if you want to clarify in details.. if you want us to share our skill and previous work please initiate the chat by replying..
Hi, just o clarify: you need the script that shows 3 (can be changed) random pages that are not from the same group, right? if so I can proceed immediately, thanks
Hi, Sir,, Having Expertise in PHP,MYSQL,XML,AJAX,jQuery,CSS3,HTML5 skills. i am sure that I'm able to work on this [login to view URL] 5+ YEAR experience with above [login to view URL] to do any work on above skill and Regardin More
Hi, We are a 1000 + employee firm. Charging 6-15$ an hour. Can start any technology immediately. Direct access to developers via skype, G talk and hotline – 24/7 availability for all 1000+ resource. We can bet you t More
I have 10 years of experience in php/mysql based development. I have worked on many complex logics and algorithms. As per your details we need to modify your existing script to restrict pages from same group. please c More
Dear Sir, I have a lot of experience in complex Javascript writing as well as in PHP. I would like to have an appointment to understand the project scope well. I am available from 20:00 - 1:00 (GMT+6) everyday. T More
Hi. I have already finish the script check my demo page [login to view URL] populate it with the value and check if it works the way you want. Actually the script is just a few lines
Hi I'm a PHP expert from Houston. Puedo entender espanol. I can do your job in 24 hours. My site: [login to view URL] Hope to talk to you!