satie83


Member since 03/19/2012

9 snippets

839 profile views

1 Comment(s) Posted

View their favorites

Profile

Achievement

first submission:submitting first snipplet

satie83's Recent SnippetsTagged php



« 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 165 posted 7 years ago by satie83
I want to extract the numbers from a string that contains numbers and letters like
0 299 posted 7 years ago by satie83
Sometimes it’s helpful to ONLY get numeric characters. Phone numbers, age — whatever your little PHP heart desires.
0 472 posted 8 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 162 posted 8 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 140 posted 8 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 148 posted 8 years ago by satie83
This function checks if the $stringComplete variable ends with the string $endString.
0 119 posted 8 years ago by satie83
A nice way to do sorting of a key on a multi-dimensional array - DavidG
0 180 posted 8 years ago by satie83
Converts a php object to an associative array
1 856 posted 8 years ago by satie83
« Prev 1 Next »