In this post you can find tutorials which explain step by step different API use cases with jQuery like Google maps, add-ons, etc. Have fun! Related Posts: JavaScript Twitter Search API Example Custom Google Search API Setup Tutorial 1. tQuery : Extentions for three.js + jQuery with Demo Mimics jQuery API, tQuery is a thin… Continue reading
Free PHP, HTML, CSS, JavaScript editor (IDE) – Codelobster PHP Edition
For valuable work on creation of sites you need a good comfortable editor necessarily. There are many requiring paid products for this purpose, but we would like to select free of charge very functional and at the same time of simple in the use editor – Codelobster PHP Edition . Let us consider some important… Continue reading
8 jQuery Camera Photo Plugins
Today we are sharing with you a collection of awesome jQuery Camera Photo plugins. They offer a range of image and camera effects such as camera flash effect, camera shutter effect, webcam, etc. Have fun! Related Posts: 30 jQuery Responsive Layout Plugins 30 Text Captions Overlay Image Plugins 1. Camera Camera slideshow is an open… Continue reading
8 Cool jQuery Animation Effects Tutorials
Back in the day, if you saw something that was animated on a website it was automatically assumed to be Flash. But not anymore, with jQuery you may become interested in creating animated effects, so here are some jQuery Animation Effect tutorials to get you on your way. Have fun! Related Posts: 10 CSS3 and… Continue reading
10 jQuery HTML5 Audio Players
In this post, we have compiled a list of 10 jQuery HTML5 Audio players available today, most allow native audio streaming – something that your visitors would enjoy while they are on your webpage. Have fun! Related Posts: 10 Best jQuery and HTML5 Media Players 10 Crazy HTML5 and JS Experiment Showcase 1. HTML5 Music… Continue reading
What is a PHP Script?
Even though PHP is much younger than
PHP Array to String
implode() function which is used to convert the array into string.
Use the
implode() function:
$array = array('lastname', 'email', 'phone');
$comma_separated = implode(",", $array);
Or the var_export function:
return var_export($arr);
This code:
return implode(','
Twitter PHP Script
It is always cool to display how many followers you have. To do so, simply use the short code snippet below.
<?php
$xml=file_get_contents('http://twitter.com/users/show.xml?screen_name=catswhocode');
if (preg_match('/followers_count>(.*)</',$xml,$match)!=0) {
$tw['count'] = $match[1];
}
echo $tw['count'];
?>
Facebook PHP Script
This script can automatically collect
jQuery Ajax Validation Use the Remote Rule
I only just found out that the jQuery validation plugins has a validation rule called “remote” which can be used to make an ajax request instead of specifying a custom rule which has an ajax call it in. This will save you heaps of time with those custom validation rules. Example: Checking if a users… Continue reading