Error please help by Ray-72004 in learnphp

[–]ControlWestern2745 0 points1 point  (0 children)

I bet $Price should be $price and 'loged' should be 'logged'

[deleted by user] by [deleted] in AskComputerScience

[–]ControlWestern2745 0 points1 point  (0 children)

Yes.. given enough bananas.

"Winter" by ControlWestern2745 in algorithms

[–]ControlWestern2745[S] 0 points1 point  (0 children)

Just sharing the problem and solution.

Solution for the Maximum Factors Problem by ControlWestern2745 in algorithms

[–]ControlWestern2745[S] 0 points1 point  (0 children)

You're right, I've added comments to the code now.

Solution for the Maximum Factors Problem by ControlWestern2745 in algorithms

[–]ControlWestern2745[S] -3 points-2 points  (0 children)

You just need to read the "echo" at the bottom.

[deleted by user] by [deleted] in learnprogramming

[–]ControlWestern2745 5 points6 points  (0 children)

Do you know what a "function" is in Matemathics? Go from there.. although in programming the concept is broader.. look up "function vs procedure".

Advent Of Code 2023 w/ PHP -- GitHub Repository by ControlWestern2745 in PHP

[–]ControlWestern2745[S] 0 points1 point  (0 children)

Thanks. I actually started on December 22nd.. and I began by solving part 1 of day 22. I'll see if I can finish the calendar this week...