- Posts Tagged ‘code’

What is Spaghetti Code?

Spaghetti Code refers to code written by programmers which is complex and tangled by unnecessary control structure. Source code may be using many GOTO, and other branching constructs. In large system with bunch of Spaghetti code, you change something and something happen at the other end. It is considered derogatory… (Continue)

New WordPress Plugin: Escape HTML

Many of WordPress users post codes online. Code can be HTML code, JavaScript code, PHP script or any other kind of code, codes need to be escaped so that it can come correctly in web page. I used to use this tool for escaping script for online posting on WordPress… (Continue)

Add Input Fields Dynamically to Form Using JavaScript

Here you will get working code for adding input fields dynamically using a link or button. Default number of input fields are provided and you want to give users a option to add more input elements then this script will work. Be it Input box field, Textarea or any other… (Continue)

Google Ajax Search API – Description and Example

Want to add Google Search in your website or blog? Google AJAX search API is available to add on any website you own. You can restrict the search to the websites you own with Google Custom Search Engine. It can be single site or multiple sites or whole of internet.… (Continue)

Image Swap with Text for Search Engine Optimization

This article is for CSS Image swap with text for SEO purpose. This article is also for the following reasons: I need to create a template kind of system on a page, so that new row can be added easily without any new consideration of the styling. All image was… (Continue)

Simple Login Code in PHP for Symfony

This post is for login code in Symfony Framework. Here is a simple PHP Login Code! This is very simple login script written for symfony framework. This will ask for loginid and password like any login page. After successful login it will send user to list page. If unsuccessful, this… (Continue)