JSON and PHP

Here at Livewire, Gainesville Web Design headquarters, we have had a couple of projects recently that allowed us to work with JSON and PHP. Initially it may seem a bit strange for PHP experts to want to embed javascript functionality in their code base but the two work together as well as peanut butter and jelly…. as long as you have some AJAX handy too .. so maybe it’s like peanut butter, jelly and more jelly. Works for us.

In this scenario we had data pushed to a server in JSON format. We needed to fetch the data, parse it, store the data into a MySQL database then retrieve and post into a JQuery file for output. Simple right? Really it’s not all that difficult.

Here’s a quick video that mostly explains what is going on.

More Web Design Blog Content

Add YARPP to Custom Post Types: WordPress

A great little plugin for adding related posts to your blog has been around for a while: YARPP, Yet Another Related Posts Plugin. It’s fairly robust, for being free, but it does not natively support custom post types – a bummer. A quick way around this is to

What’s New: Livewire Seminars

Want to become your own SEO specialist? Need to know how to put your site on page 1 but don’t have the capital to invest hundreds to thousands of dollars in optimization? We can help! Our Search Engine Optimization Seminars will teach you how to become your own

Updating WordPress Database After Website Move

Boy life sure would be easy if WordPress used relative URL’s throughout the menu and post content but that simply isn’t going to happen, they’ve made that clear. Changing the URL in the admin Settings would then be all you need to do, making moving installations a breeze.

Session Timeouts

We’re currently fixing a set of issues with a shopping cart created through a different developer for a local client. They did a pretty good job but forgot about session timeouts. A lot of developers gloss over this aspect of their ecommerce site and unfortunately customers pay the

Bed Bug Guru Has a New Website

New website up and running. This turned out to be a rush job so it is actually a work in progress. Their business is opening in a few days and they needed something up quickly that was still professional. Glad they called Livewire. We cooked up a great

WP: Adding a HTML5 Search Form

A simple script from your local Gainesville Web Designer. [code scroll=”false” language=”htmml”] <form role=”search” method=”get” class=”search-form” action=”<?php echo home_url( ‘/’ ); ?>”> <label> <span class=”screen-reader-text”><?php echo _x( ‘Search for:’, ‘label’ ) ?></span> <input type=”search” class=”search-field” placeholder=”<?php echo esc_attr_x( ‘Search …’, ‘placeholder’ ) ?>” value=”<?php echo get_search_query() ?>” name=”s” title=”<?php echo esc_attr_x( ‘Search