Thursday, April 30, 2009

Ways to improve user experience in any website


As of now, I can think about below things to improve user friendliness or user experience. Put the cursor ( i-e give focus ) in the appropr... read more

Steps for using FCK editor


FCK editor is a php code used for providing WYSIWYG editor facility in website developed using php. a . Copy and paste the FCK editor folder... read more

For using javascript Calendar in web page


1. To use calendar in our page, we should include one JS file in our project on the same path of our page. 2. Paste the following line in ... read more

Focusing HTML element immediately after loading the web page


Focusing (i-e putting cursor) appropriate control/HTML element in a webpage will enhance the user experience. It should be done once after l... read more

How to avoid multiple lines in <td> tag?


In some situation (viewing in different browsers) the single <td> tag displays content in two lines. If you want to display sentence i... read more

Getting current Page Name in PHP


$_SERVER[‘PHP_SELF’] will be used for getting current page name in php. It will be necessary for us to use this $_SERVER[‘PHP_SELF’] for act... read more

PHP function to get the ID generated from the previous INSERT operation in mysql


It is necessary to get the ID (auto increment field) of a row inserted into a mysql table if the table is having any parent-child relationsh... read more

Javascript example for selectively displaying particular div based on drop-down selection


display property of style for any div tag can be set as "block" to display the div content, or it can be set as " none... read more

Javascript validation for radio button in HTML form


HTML is having INPUT tag with radio as type to display radio button in the HTML form. Multiple input tags should be given same name to make... read more

Detecting browser type using javascript


Many different browsers (e.g FireFox, IE,chrome,opera,safari)are available for displaying webpages. Each and every browser will have their o... read more

Displaying Random records from MySQL database table


Sometimes we may need to display some value selected from database table which is having many records. In this situation we can select them ... read more

Handling Date and Time in PHP/MySQL


Date and time can be inserted into mysql table in specific format only. But php will support different types of date and time formats. So, w... read more

Email syntax validation using javascript


We should validate the syntax of email entered in the form in the client side itself to save unnecessary server process to validate the emai... read more

Removing text from Textbox on giving Focus


Webpage should be designed such that the elements/controls occupy less space in any webpage for improving user-friendliness, especially in H... read more

Wednesday, April 29, 2009

Displaying vertical scroll bar dynamically in HTML elements


Vertical scroll bar in HTML controls/elements/tags such as TEXTAREA and SELECT will be useful if the element has more content/items. But alw... read more

Doing case insensitive search in C#.Net


It seems C# is doing case sensitive search by default. Consider below two variables. string name="QualityPoint" string searchword=... read more

Tuesday, April 28, 2009

Converting Letter Case in php/MySql


LCASE can be used in MySQL query to get the output in all lower case letters. For example below query will display the username in lowercase... read more

Doing page redirection in PHP


Page redirection can be done in PHP file using header() which is used to send a raw HTTP header. (i-e) header("Location:newpage.php... read more

Workaround for Back button issue in FCKeditor.


FCKeditor is very useful tool for allowing the user to enter the formatted text in a webpage without having knowledge in HTML. If we click B... read more

Sunday, April 26, 2009

Quick Introduction to RSS feed/Syndication


We can see an Icon like this in many websites. This post will be useful for the readers who are not familiar with this icon. Actually this ... read more

How to detect Plagiarism?


Since Internet is accessible for every people, someone can copy the content from our website and can put it in their site and claim it sayi... read more

QTP Learning Steps for Beginners


In previous post, I explained basic details of QTP. In this post, I will explain how to start learning QTP and then explain how to proceed w... read more

Saturday, April 25, 2009

MySQL - Resolved null issue in query.


We have faced strange issue with MySql old version (version 4). Our php file will pass a querystring variable "id". It can have a... read more

Resolving delimiter issue in PHP


All we know that server side coding can be delimited using any one of below two ways. 1. <? some code ?> 2. <?php some code ?> ... read more

PHP - Disabling Display of Notice messages


Displaying notice type message will be helpful for improving development when developing websites using php. But in production environment... read more

Friday, April 24, 2009

Understanding Object Repository in QTP (Quick Test Professional)


eBook for learning Software Testing and QTP automation In my previous post , I have given some brief introduction to Object Repository. In t... read more

HTML - Displaying Content in the same line using DIV tag.


Normally content within DIV tag will be displayed in separate line. (i-e) Line break will be added after the content. For example, see the ... read more

Thursday, April 23, 2009

Basics of QTP (Quick Test Professional)


As I explained in the previous post , QTP is widely/most popularly used Functional/Regression Test automation tool. It was developed by Mer... read more

Wednesday, April 22, 2009

Basics of Session and Cookies


We know that Webpages are getting displayed using stateless Protocol. So there should be someway for keeping the session of the user naviga... read more

PHP - Resolved the issue of setcookies not setting properly


PHP is having a function called setcookies for setting a value for cookie variable . The sample syntax for using this function is, setcoo... read more

Tuesday, April 21, 2009

Importance of Software Testing


In Internet, We can see lot of articles explaining/listing loss made by poor low-quality software products. How will you feel if a bug in b... read more

Monday, April 20, 2009

PHP code for preventing session hijacking


The hacker may get session id of our browser in someway, and then using this session id they can continue our session in their browser. So t... read more

Sunday, April 19, 2009

Dynamically changing/displaying web page content using javascript without refreshing the page


Sometimes we may need to change the content displayed in the webpage frequently. Javascript will enable achieving this without the need for ... read more

Javascript code for preventing user from copying content from webpage.


Find below the javascript code for disabling Mouse right click in web browser to prevent user from copying the content. Buy anyway the conte... read more

Saturday, April 18, 2009

SQL query for deleting duplicate records in parent table without affecting child table


We need to take additional care when deleting duplicate rows in a table if the table is related with another table and there are no proper f... read more

Web Development Best Practices


High speed Internet connection and Technology Giants such as Google and Apple make most of the people to use internet daily. So, Web Dev... read more

Friday, April 17, 2009

C# - Performance difference between use of Datatable and use of external database


C# is having Dataset and datatables which can be used much similar to external database (eg. ms access database (.mdb)). Even when the datab... read more

Thursday, April 16, 2009

URL for checking usage of Broadband provided by BSNL


If you are having broadband connection provided by BSNL , you can verify the usage up-to-date by logging in to any one of two below urls. ww... read more

How to dynamically change attribute (e.g height) of HTML tag based on screen resolution using javascript?


Sometimes we may need to specify the attributes such as height and width of HTML tag in pixels instead of specifying it using percentage. I... read more

Wednesday, April 15, 2009

Best practices in Software Testing


There are lot of materials available in internet to explain best practices in Software Testing. Here I am writing only the very essential th... read more

Importance of Software Test Automation using tools such as QTP


Software Testing plays an important role in Software Development lifestyle. As I mentioned in my another article , doing manual testing is n... read more

Tuesday, April 14, 2009

Always explicitly use $_GET when using querystring parameters in PHP.


Consider below url. www.yourdomain.com/pagename.php?id=10 In pagename.php file, we should add below code to use this querystring parameter ‘... read more

How to change Row of Data into Column Data in Excel?


Sometimes we may need to rearrange the Data arranged in a Row into Data under columns. Refer the above screenshot showing Employee name and ... read more

Search This Blog

Blog Archive