Profile
Achievement

satie83's Recent SnippetsTagged php
- All /
« Prev 1 Next »
Der folgende Codeschnipsel enthält keinerlei Überprüfungen der übergebenen Parameter, diese sollten für den produktiven Einsatz noch nachgepflegt werden.
Wie man sieht, ist die Berechnung von Wochendenden und Feiertagen recht einfach. Diese Ber...
1
1111
posted 11 years ago by satie83
I want to extract the numbers from a string that contains numbers and letters like
0
1431
posted 11 years ago by satie83
Sometimes it’s helpful to ONLY get numeric characters.
Phone numbers, age — whatever your little PHP heart desires.
0
1990
posted 12 years ago by satie83
Once in a while we need to check whether a string contains substring, some other string or characters or a value. Checking for existence of a string (or substring) inside another string is easier than it might seem. The following article describes ho...
0
994
posted 12 years ago by satie83
In javascript there is no function for printing variables like you have PHP, I use print_r and var_dump a lot in PHP for dumping variables
so I wanted to create a simular function in javascript.
0
1168
posted 12 years ago by satie83
Example calculate yesterday, but if you multiply by some number you can get in an easy way, weeks, months or years
0
1225
posted 12 years ago by satie83
This function checks if the $stringComplete variable ends with the string $endString.
0
876
posted 12 years ago by satie83
A nice way to do sorting of a key on a multi-dimensional array - DavidG
0
1181
posted 12 years ago by satie83