Tag Archives for php

Google Analytics Core Reporting API (Data Export) with Google Chart Visualizations

Updated 12/20/11 and 01/04/12 to reflect Google’s API changes You can punch into the Google Analytics Core Reporting (Data Export) API, pull out some stats, and stuff them into some nice graphical charts using Google Chart Visualizations. This demo is done in PHP. Authenticate the User The user can authenticate via the ClientLogin or using [...]

Posted in Google Analytics, php, Web development | Also tagged , , 24 Comments

Using jQuery Autocomplete to Populate Another Autocomplete – ASP.NET, ColdFusion, and PHP Examples

As requested, this post covers using one jquery autocomplete to populate another jquery autocomplete on the same page. This example will use a jquery autocomplete to choose a state then, based on the state, another jquery autocomplete will be populated with zip codes for that state. Basically, the state chosen gets used as a filter [...]

Posted in .net, ColdFusion, jquery, php | Also tagged , , 41 Comments

jQuery UI Autocomplete Widget with PHP and MySQL

You might also be interested in the Using jQuery Autocomplete to Populate Another Autocomplete post. As a follow up to the jQuery UI Autocomplete Widget with ColdFusion post, I did one with PHP as the backend. The jQuery UI folks have released an autocomplete widget that is pretty slick. This example uses the json_encode function [...]

Posted in jquery, php | Also tagged 2 Comments

jQuery.ajax and jQuery.post Form Submit Examples with PHP

For a version of this using ColdFusion, see the CF jquery form submit post. Two jQuery functions that allow for the submission of form are the jQuery.ajax function and the jQuery.post function (there is also jQuery.get but that is not addressed here). More functionality, along with more complexity, is offered with the .ajax function while [...]

Posted in jquery, php | Also tagged , 28 Comments

Session Timeout Warning PHP Example with jQuery/JS

Updated 11-Jan-2010: Improved ability to adjust timeouts and simplified code a bit. Detecting and warning a user of their session timing out can come in handy and, in some cases, may be necessary. Here is one way of doing this with jQuery/javascript and PHP. There may be a better way to do this, so take [...]

Posted in jquery, php, Web development | Also tagged 31 Comments