Currently Browsing: featured
How to calculate strings with PHP
Ever wondering to calculate 2 + 2 ? Sure you have. But what if your formula comes in a string input ? So, how to calculate “2 + 2″ or “4 * ( 3 – 5 )” in PHP ? We’ll have the function calculate_string($mathstring). function calculate_string( $mathString ) { $mathString...
Paint using Javascript and Canvas
Paint using Javascript and Canvas
Steve Hanov has developed a Canvas-based drawing tool with a hand-drawn look. Lines can be drawn with a “sloppiness” option, with possible values “Draftsman”, “Artist”, “Cartoonist”, “Child”, “Drunk”. The font used is FG Virgil,...
Hello world!
Hello world!
<?php echo "Hello World!"; ?>
SEO Blogs - BlogCatalog Blog Directory