Follow Me:

Sunday, 30 November 2014

Contains() Property in javascript.,it is working fine in Mozila Firebox only.It will not support Chrome Browser,Internet Browser,Safari,Opera browser. Mozila Browser : var ClearFilterValue = 'family Schools'; if(ClearFilterValue.contains("family")== true) { alert('Success'); } Chorme & Mozila Firebox Browser :     The below javascript index() properity will working for both chrome and mozile...

Monday, 3 November 2014

JSON (Javascript Object Notation) is a convenient way to transport data between applications, especially when the destination is a Javascript application. Example : Here is a minimal example that uses JSON as the transport for the server response. The client makes an ajax request with the JQuery shorthand function $.getJSON. The server generates a hash, formats it as JSON and returns this to the client. The client formats this and puts...

Friday, 30 May 2014

How to blink text in html for various browsers The blink() method is not standard, and may not work as expected in all browsers. The blink() method is used to display a blinking string. This method returns the string embedded in the <blink> tag, like this: <blink>string</blink> Note:  The blink() method only works in Opera. It is not supported in Internet Explorer, Firefox, Chrome, or Safari. So alternatively...

Saturday, 1 March 2014

Call to undefined function imap_binary() in php imap_binary — Convert an 8bit string to a base64 string <?php   chunk_split(base64_encode($string), 60); ?> chunk_split — Split a string into smaller chunks Imap Binary Author : Elangovan Related Posts: 1. 413 “Request Entity Too Large” error with uploading a file 2. Difference between cookies and sessions in php 3. How to create a .webp image in PHP 4. How to expire PHP session after a period of time 5. How to resolved when Logged out sessions get restored by back...

Friday, 28 February 2014

What is .frm, .myi, .myd. txt file in PhpMyadmin and MySQl? When creating the table in database,that time 3 text file is generated in local.That files are   .FRM  =>  It has the table structure of your table or table definition  .MYI  =>   It has the indexes of your table  .MYD =>   It contains your data Generally you can find the data directory of your file with your .my.cnf file. The physical structure of db is some thing like a directory structure, where each database is a subdirectory...

Thursday, 13 February 2014

  To import csv files into the mysql table,for this removing the header of the csv files and then run the below script.It will be insert into our mysql table. //Import csv files into mysql table LOAD DATA LOCAL INFILE 'd:\\Site.csv' INTO TABLE `siteurl` FIELDS TERMINATED BY ',' ENCLOSED BY '"' LINES TERMINATED BY '\r\n'; //ends Character Escape Sequence \0 An ASCII NUL (0x00) character \b A backspace character \n A newline (linefeed) character \r A carriage return character \t A tab character \Z ASCII 26 (Control+Z) \N NULL Note...

Monday, 3 February 2014

    By using array_diff() function , we can remove the array values in php     <?php <?php $arr_remove = array('Codingslover', 'webslessons', 'meetcity',        'eshopoffers','google'); $arr = array_diff($arr_remove, array('webslessons', 'google')); echo "<pre>";print_r($arr_remove); echo "<pre>";print_r($arr); ?> ...