Categories
jQuery

jQuery one() Method

The jQuery one() Method attached a handler for the selected elements and executed at most once per element per event type. Using one() method, the event handler is only run ONCE for each element. Possible event values are: blur, load, focus, resize, unload, scroll, click etc. Syntax: This is the simple syntax for using this […]

Categories
MySQL

mysql_fetch_array() expects parameter 1 to be resource, boolean given

Trying to select data from a MySQL table, but getting the error messages: mysql_fetch_array() expects parameter 1 to be resource, boolean given? – This may happen for various reasons like both the mysql_* and the mysqli extension will return false from their query functions. – Using a die() you can get a little to much. […]

Categories
jQuery

jQuery serializeArray() key value pairs

jQuery serializeArray() creates an array of objects i.e. name and value pair by serializing one or more form elements or the form element itself. jQuery serializeArray() method can act on a jQuery object which has selected individual form controls like <input>, <textarea>, and <select> etc. Suppose, you have a following HTML: <form action=””> Name: <input […]

Categories
Careers Interview questions

CakePHP interview questions and answers

CakePHP  is a free, open-source, rapid development framework for PHP. It’s a foundational structure for programmers to create web applications. There is number of in built component like Ajax, RequestHandler, Session etc. Question: What are the drawbacks of cakephp? Answer : The learning curve, and it loads full application before it starts your task. Its […]

Categories
jQuery

jQuery Cookie (Set, Get and Delete)

Cookies are the most important thing or technology for storing data on the client side environment. jQuery Cookie is a simple, lightweight plugin for writing, reading and deleting cookies from client side. At first you need to download jquery.cookie plugin and simply need to add it in your pages. <head> <script src=”js/jquery.js”></script> <script src=”js/jquery.cookie.js”></script> </head> […]

Categories
Css Css3

6 Free online CSS sprite generator

Image sprite is a collection of images put into a single image depends on particular position of a image. Basically CSS sprites are used for faster loading of your site. Read our previous article about CSS Image Sprites. There are few online CSS Sprite generator tool which is very handy to create sprites quickly. 1) […]

Categories
SEO

DoFollow & Nofollow Link

In search engine optimization the noindex, robots, dofollow & nofollow are the common words to increase your page traffic and very important also. Basically, search engines like Google, Bing and any others have their own algorithms to scan the webpages across the websites on internet and such crawled web pages are stored in the data […]

Categories
Creative blog Php WordPress

Execute PHP code in WordPress Sidebar

Want to add PHP code in your WordPress widget? Here are two WordPress plugin by which you can add PHP code in sidebar widget. Developer can easily do this functionality without any widget but for a non-programmer this may be quite difficult task. Sometimes it is necessary to run a PHP code in the sidebar […]

Categories
MySQL

MySQL Best Practices

Sometimes we may face about performance issues while opening a website. Not only databases but we need to optimize our programming code also. MySQL Best Practices means few tips to optimize the MySQL query: Avoid SELECT * and use particular fields from a table what you require. Use ENUM rather than VARCHAR because ENUM type […]

Privacy Policy

This Privacy Policy governs the manner in which Namaste UI collects, uses, maintains and discloses information collected from users (each, a “User”) of the http://www.namasteui.com website (“Site”). Personal identification information We may collect personal identification information from Users in a variety of ways, including, but not limited to, when Users visit our site, fill out […]