Some new crazy (Cake)PHP tricks

7

Crazy – because these tips are not used that often probably. But for some rare occasions they might come in handy. Inserting some rows into an array $array = array( ‘one’, ‘two’, ‘three’ ); $newValue = ‘one-point-five’; //with 0 as…

Interesting Links

0

A short post about some really interesting sites I found in the www and want to share: Live Benchmark phpbench.com You can see live benchmarks about some basic PHP stuff. You can also copy and paste the code to try…

Web Development Snippets

3

A couple of useful snippets for web developing. The list will grow over the years. Jumping to anchors with JS If we want to jump to an anchor dynamically (using javascript): /* dont use this!!! */ //location.href = location.href +…