Closed

fix php issue

The issue I am having is that its only calculating salaries per game with the player on which team he is currently on.

I need this to calculate whether the player is still on that team or not.

The calculation is as follows

player salary / 32 (total games in season per team) * games played

its the games played I think that is getting me and only calculating players currently on team rather than all players that have played on that team regardless

here is the actual line of code

$salary = $row['salary'] / 32 * $p_array[$pid]['played'];

$this->salary_total += $salary;

Skills: MySQL, PHP, Smarty PHP

See more: fix the issue, php fix sql code, calculate salary, player fix, code pid, fix cross domain issue php, php fix xss code injection, pid code, php mysql analysis code fix, fix log code injection php, php fix code xss, sql injection php fix code, php players, php calculation, calculation php, form fix page code php html, fix player, php ups shipping code, godaddycom php file upload code

About the Employer:
( 84 reviews ) Vancouver, Canada

Project ID: #7116696

20 freelancers are bidding on average $40 for this job

rajeshsonisl

Hello! With 99% completion rate, 750 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

$105 CAD in 1 day
(545 Reviews)
7.6
phpprogramming

I have gone-through your requirements and confident to do it properly. I have great experience in php, mysql, smarty, jquery, css, CakePHP, CodeIgniter, yii, opencart, cubecart, wordpress. [login to view URL] More

$30 CAD in 0 days
(153 Reviews)
6.5
csajit

HELLO THERE, Over 190+ Positive Reviews. Over 90% Completion Rate. 5 Star Rating. 8+ Years of experience in PHP/MYSQL I AM INTERESTED IN WORKING ON THIS PROJECT. PLEASE CHECK MY REVIEWS AND THEN DECIDE ON More

$30 CAD in 1 day
(196 Reviews)
6.3
techwelfare

Hello Let's explore the requirement and kindly let us know if you would like us to share our skills & experiences with previous development.

$127 CAD in 1 day
(84 Reviews)
6.4
deepbratt

Hello sir,we have properly gone through your project description,and we are very sure that we can do [login to view URL] start .Also you donot have to worry about payment pay only after the job is [login to view URL] you.

$24 CAD in 1 day
(74 Reviews)
5.5
NayaPakistan

A proposal has not yet been provided

$20 CAD in 1 day
(99 Reviews)
5.4
isensebd

A proposal has not yet been provided

$30 CAD in 1 day
(59 Reviews)
5.4
Petertilva

Hi, I hope you are doing fine. I am new in freelancing but I have 4 to 5 year experience of designing and developing. I read your project description. I would like to work with you. I will provide 100% satisfa More

$20 CAD in 0 days
(26 Reviews)
4.8
omprakash001

A proposal has not yet been provided

$24 CAD in 1 day
(15 Reviews)
4.7
irshadjan

Greetings Sir, I am an experienced PHP developer, let me solve this issue for you. Best Regards, Irshad Jan

$30 CAD in 1 day
(17 Reviews)
4.3
ankur1024

" Can you Show me Website link..??.We have check line [$salary = $row['salary'] / 32 * $p_array[$pid]['played']; $this->salary_total += $salary; ].We will fix this [login to view URL] is my live " PHP/Mysql" Projects profile h More

$30 CAD in 1 day
(10 Reviews)
3.7
rashidaliansari

Dear {Name of employer} Respectable Sir, we are interested in negotiating your Freelancer project and ready to accept your project on given conditions. We have a pool of Professionals and Specialists they are ready to More

$105 CAD in 0 days
(4 Reviews)
2.9
technokeens

This is Technokeens, Interested to do your work please share more details we can complete it now. Waiting for your response Thanks

$18 CAD in 0 days
(10 Reviews)
2.7
jimit6392

Hello Sir,,, I am Jimit. I have 3+ years of experience in this field I Read your Requirement, your problem is in to calculate the salary Please allow me for personal chat so we can discuss further More

$35 CAD in 1 day
(2 Reviews)
2.7
achitran

hii, hiring us will give you the following benefits.. - 365 days of support - 24 X 7 availabilty - professionally qualified team - guaranteed satisfaction - ontime and within budget project completion - free More

$28 CAD in 2 days
(9 Reviews)
2.4
SJT18

Hello I can do that , get me the details of the login i will fix the issue right away Also need some clarification Thanks and Regards

$25 CAD in 1 day
(6 Reviews)
2.1
ambigs

Hi, I can start working on this by and complete in 1 hour. Please accept my bid. I have 7 years of work experience in PHP and 4 years of work experience in Smarty Template

$16 CAD in 0 days
(4 Reviews)
1.7
shafitec7

having 4+year experience in web development, well knowledge in HTML, Joomla, MySQL, parallax scrolling, website management, XML, PHP, HTML5, CSS3, Boot scrap, etc.

$25 CAD in 1 day
(0 Reviews)
0.0
richestuser

Dear Sir/Ma'am, Understanding about the Job: -------------------------------------------- As per the Job description, I understood that you need an experienced PHP developer and as per my past learning experienc More

$30 CAD in 1 day
(0 Reviews)
0.0
kamalasawara

Web admin, Mobile backend, REST JSON web service development. Covering difference domain like social media, blogs, construction, ecommerce, education, POS, tele-communication, jewellery, manufacturing units, cloud de More

$16 CAD in 1 day
(0 Reviews)
0.0