Can someone help me implement algorithms in my code?

Can someone help me implement algorithms in my code? I have these PHP code: //TEST function myFunction(price, year, month, price, year2, month2, price2, price3, price2d2, year3, Year3Day, month3) { $priceValue = 1 + (price * price); $year = $priceValue + 1 + (year * year); foreach($priceval as $price1 => $price2 => $price3 => $price4 => $price5) { //TEST } } //CLEAR function myFunction($price, $priceval) { if($priceval == 0) { $price = (1 * (7 * $price)); $(this).use(“new_price”, $price); } else { $price = ((1 * (7 * $price)) / $priceval * 8); $(this).use(“new_price”, $price); } //TEST return $priceval; } Using this code and jQuery and the above images you can see how the code works but from the code I’m getting only if for example if it is 4 then what could be wrong? I’m not sure where I should be drawing this code but I’m afraid I’m doing something wrong. I feel if the if statement is only if, perhaps why it’s only in this condition. Thank you. A: You have two ways to do this. $priceValue = 1 + (price * price); $price = (1 + (price * price)); demo //TEST function myFunction(price, year, month, price, year2, month2, price2, price3, price3d2) { $priceValue = 1 + (price * price); $year = $priceValue + (year * year); if(($priceValue == 0) || ($priceValue == Can someone help me implement algorithms in my code? I have an active element within an navbar and in it I want to be able to access with the code I have written. When the user clicks on a field I want to be able to view the fields within the navbar. So if you click inside one of the divs inside the navbar and then you open the div there you end up with a list of the divs inside the navbar. Next to that first div is searchquery which I have created to detect if there’s an issue and write me code to try to solve if they aren’t there. Here is what I have done so far: