No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi everyone, I've created a function for calling .js files in <head> but it's not working properly. The reason why is this function necessary is that I want to include different .js files in different pages or remove some If I don't need them. [CODE]function get_scripts($array, $dir) { $count = … |
|
Hey all, Well I can't find a common solution for calculating price based on time elapsed and I thought you guys could help me a bit to find an appropriate solution. So, I need to calculate price like this: 24h - 40€ 30h - 50€ 36h - 60€ 42h - … |
|
Hi all, I want to calculate the difference between two dates but can't achieve what I want ... I'll explain to you what's the problem.. $date1 = "2007-02-05 20:32:15"; $date2 = date("Y-m-d H:i:s"); $diff = $date2 - $date1; I've already done that but let's suppose if the difference is 24h … |
|
Read a single character from ‘A’ through ‘Z’ and produces output in the shape of a pyramid composed of the letters up to and including the letter that is input. The top letter in the pyramid should be ‘A’, and on each level, the next letter in the alphabet should … |