Posts

Air Conditioners - air conditioner best price online

Buy Air Conditioners - air conditioner best price online Click to Buy  https://www.amazon.in/Air-Conditioners/b/ref=as_li_ss_tl?ie=UTF8&node=3474656031&linkCode=ll2&tag=prml0d-21&linkId=97920ffbbf7d8751f859a0ba8b35350c&language=en_IN Godrej 1 Ton 3 Star Inverter Split AC (Copper GIC 12YTC3-WTA White) LG 1 Ton 4 Star Inverter Split AC (Copper LS-Q12YNYA, White, Convertible 4-in-1 Cooling) LG 1.5 Ton 5 Star Wi-Fi Inverter Window AC (Copper, JW-Q18WUZA, White, Low Gas Detection) Hitachi 1.5 Ton 5 Star Window AC (RAT518HUD Summer TM White) Lloyd 1.5 Ton 3 Star Inverter Split AC (Copper LS18I32AL White)

Get Random Record From List In Coldfusion

<cfset ColorList="#999999,#FF0F00,#FF6600,#FF9E01, #FCD202,#F8FF01,#B0DE09,#04D215,#0D8ECF,#0D52D1, #2A0CD0,#8A0CCF,#CD0D74,#754DEB,#DDDDDD,#333333">   <cfset randIndex = RandRange(1,listlen(ColorList))> <cfoutput> #ListGetAt(ColorList,randIndex,',')# </cfoutput>

Create text on image in center using php imagettfbbox

Using imagedestroy, imagejpeg, imagettftext, imagettfbbox, imagefill, hexdec, imagesx, imagesy, strtoupper, font, imagecreatetruecolor, Create text image in image center. imagettfbbox() Function return array index values means 0 - lower left corner, X position 1 - lower left corner, Y position 2 - lower right corner, X position 3 - lower right corner, Y position 4 - upper right corner, X position 5 - upper right corner, Y position 6 - upper left corner, X position 7 - upper left corner, Y position createTextImage.php <?php $text = strtoupper ( 'P' ) ; $imgWidth = 53 ; $imgHeight = 53 ; $font = './calibri.ttf' ; $fontSize = 12 ; $angle = 8 ; $imageColor = hexdec ( "#48A201" ) ; $textColor = hexdec ( "#FF0000" ) ; $txtImg = imagecreatetruecolor ( $imgWidth , $imgHeight ) ; imagefill ( $txtImg , 0 , 0 , $imageColor ) ; $xi = imagesx ( $txtImg ) ; $yi = imagesy ( $txtImg ) ; $textLayout ...

Multiple Jquery UI Dialog Box On Single Page

Creating multiple jquery ui dialog box on single page and open it on click event one by one using loop, classes and id attribute. < ! doctype html > < html lang = "en" > < head > < meta charset = "utf-8" > < title > Multiple jQuery UI Dialog < / title > < link rel = "stylesheet" href = " smoothness/jquery-ui.css"> < script src = " //code.jquery.com/jquery-1.10.2.js"></script> < script src = " jquery-ui.js"></script> < script type = "text/javascript" > $ ( function ( ) { var options = { show : 'blind' , hide : 'fold' , width : 800 , modal : true } ; $ ( ".getDetails" ) . on ( "click" , function ( e ) { /*console.log(this.id);*/ e . preventDefault ( ) ; ...

ISO 8601 datetime String format in coldfusion

Convert datetime format into iso datetime format using coldfusion dateconvert, dateformat and timeformat <cfset date = now() /> <cfset datetime = dateConvert( "local2utc", date )> <cfoutput> #dateFormat( datetime, "yyyy-mm-dd" ) & "T"  & timeFormat( datetime, "HH:mm:ss" ) & "Z"# </cfoutput> Output: 2015-06-09T14:22:59Z

Get Previous One Day Data in Sql Server

Get Previous One Day Data in Sql Server using convert(), dateadd(), datediff() and getdate() sql functions and between operator. SELECT OrderID , CustomerID , OrderDateTime FROM [ DEMODB ] . [ dbo ] . [ Orders ] WHERE OrderDateTime   BETWEEN CONVERT ( VARCHAR ( 10 ) ,   DATEADD ( DAY , DATEDIFF ( DAY , 0 , GETDATE ( ) ) , - 1 ) , 101 ) + ' ' + '00:00:00' AND CONVERT ( VARCHAR ( 10 ) ,   DATEADD ( DAY , DATEDIFF ( DAY , 0 , GETDATE ( ) ) , - 1 ) , 101 ) + ' ' + '23:59:59'

Create Json Array in Javascript Dynamically

This is an example to create Json Array in Javascript dynamically using new Array(), new Object() and .push(). < script > var obj = new Array ( ) ; for ( i = 1 ; i <= 5 ; i ++ ) { var jsonData = new Object ( ) ; jsonData . key = "ID" ; jsonData . value = i ; obj . push ( jsonData ) ; } console . log ( obj ) ; < / script >    

Benefits Of Stored Procedures

There are many benefits of using a stored procedures like increased execution speed, fast access data, consistency etc. 1. Execution Speed Increased execution speed is the most useful advantage of Stored Procedures. Stored Procedures are optimized the first time they are compiled. Stored procedures are cached on the server. 2. Security One of the most useful advantage of using Stored Procedures is security. We can give execute rights to store procedure so it can perform the right task. It creates a more secure enviroment. 3. Fast Data Access SQL Stored Procedures are optimized for best execution path to the required data. 4. Consistency Utilizing Stored Procedures enforces consistency, since users do not have to create and use their T-SQL statements. 5. Modular Programming One of the most usefull advantage of Stored Procedures that Stored Procedures are located at one location means that there are no confusion and Stored Procedures is the sharing of application...

Get Defined Attribute Value Using Jquery

Get user defined attribute value using jquery like name, id and other attributes < input type = " text " value = " XYZ " name = " Name " id = " Name "   myAttribute = " This is Name Of Employee " /> < script type = " text/javascript " > $ ( document ) . ready ( function ( e ) { console . log ( $ ( "#Name" ) . attr ( 'myAttribute' ) ) ; } ) ; </ script >

Bootstrap Table Server Side With Coldfusion

Bootstrap Table Server Side With Coldfusion Component. Bootstrap Table is licensed under the The MIT License. <!DOCTYPE html> <html lang="en">   <head>         <meta charset="utf-8">         <meta http-equiv="X-UA-Compatible" content="IE=edge">         <meta name="viewport" content="width=device-width, initial-scale=1">         <meta name="description" content="">         <meta name="author" content="">         <title>Meessage Broadcast Admin</title>         <!-- Bootstrap core CSS -->         <link href="../public/css/bootstrap.min.css" rel="stylesheet">         <link href="../public/...

Autocomplete Textbox Jquery with Database PHP

Autocomplete Textbox Jquery with Database php using Jquery, mysql, json_encode, htmlentities, stripslashes, strip_tags, trim, mysqli_connect, mysqli_query, autocomplete, array_push < html > < head > < script src = "jquery.min.js" > < / script > < ! -- Latest compiled and minified CSS -- > < link rel = "stylesheet" href = "bootstrap.min.css" > < ! -- Optional theme -- > < link rel = "stylesheet" href = "bootstrap-theme.min.css" > < ! -- Latest compiled and minified JavaScript -- > < script src = "bootstrap.min.js" > < / script > < link rel = "stylesheet" href = " jquery-ui.css"> < script src = " jquery-ui.js"></script> < / head > < body > < div cl - ass = "container" > < div cl - ass = "row" > < div c...

Autocomplete Textbox Jquery with Database Coldfusion

Autocomplete Textbox Jquery with Database Coldfusion using cfcomponent, coldfusion, StructNew ,cffunction, ArrayAppend, mysql, cfqueryparam, Jquery, Jquery Autocomplete < link rel = " stylesheet " href = " jquery-ui.css " /> < script src = " jquery-1.9.1.js " > </ script > < script src = " jquery-ui.js " > </ script > < cfform name = " actoComp " > < table border = " 0 " cellpadding = " 0 " cellspacing = " 10 " > < tr > < td > Account No < br > < cfinput type = " text " name = " accountNo " id = " accountNo " > </ td > < td >   < input type = " submit " name = " Submit " value = " SUBMIT " >   </ td > </ tr > </ table > </ cfform > <...

Create text on image in center using coldfusion imageDrawText

Using imageSetDrawingColor, imageDrawText, imageNew, writeToBrowser, coldfusion, structNew, Create text image in image center. <cfset text = "P"> <cfset imageWidth = 100 /> <cfset imageHeight = 100 /> <cfset txtWidth = 30 /> <cfset txtHeight = txtWidth /> <cfset textImg = imageNew("",imageWidth,imageHeight,"rgb","red")> <cfset x=max(textImg.width,textImg.height)> <cfset newheight=textImg.height*txtHeight/x> <cfset newwidth=textImg.width*txtWidth/x> <cfset newx = (textImg.width/2 - newwidth/2)> <cfset newy = (textImg.height/2 + newheight/2)> <cfset texAttr = StructNew()> <cfset texAttr.font="Arial"> <cfset texAttr.size = txtWidth> <cfset texAttr.style = "bolditalic">   ............ ............ ............   More details Visit - https://www.elearn99.com/programming/create-text-image-center-imagedrawtext/253/  

Create CSV File Using PHP MySqli

Create comma seprated file using fwrite php function using with mysql query. It is very easy way to create csv file. <?php $con = new mysqli ( "127.0.0.1" , "root" , "cx(ymc@!" , "demodb" ) ; if ( $con - > connect_error ) { die ( "Connection failed: " . $con - > connect_error ) ; } $sql = "SELECT phoneNo_int,fName_vch,lName_vch FROM users" ; $result = $con - > query ( $sql ) ; $bufferDATA = "" ; $exportPath = $_SERVER [ "DOCUMENT_ROOT" ] . "/demo/uploads" ; $inpFileName = "users.csv" ; $bufferDATA = "Contact No,First Name,Last Name" . CHR ( 13 ) ; /*If file already found delete it from directory*/ try { if ( file_exists ( $exportPath . "/" . $inpFileName ) ) { unlink ( $exportPath . "/" . $inpFileName ) ; } } catch ( Exception $e ) { echo $e - > getMessage ( ) ; } .............

Select Multiple Files in The Browser And Upload All

Implement an HTML5 input field that select multiple files to upload using with coldfusion uploadall file action. < form name = " imageForm " action = " new.cfm " method = " post "   enctype = " multipart/form-data " > < input type = " file " name = " image " multiple = " multiple "   accept = " image/jpeg, image/gif, image/png, application/zip " />   < br /> < input type = " submit " name = " submit " value = " Submit " /> </ form > More Details Visit-> https://www.elearn99.com/programming/upload-multiple-files-coldfusion/260/

Make Check Box And Selected Option Checked in PHP

Make multiple check box and selected option checked in php according database value. Make Selectbox checked :- SQL Query :- $GetCuisines = mysqli_query($obj->mysqli,"SELECT CuisineID,CuisineName,CuisinePic from contribu_yummy.cuisine where active=1 and deleted=0"); <select name="SelCuisineID" id="SelCuisineID" class="form-control" style="width:230px">     <option value="" class="Text" >Select</option>     <?php     while($cuisineRow = mysqli_fetch_array($GetCuisines))     {         if($CuisineID == $cuisineRow['CuisineID'])         {             $checkedCuisine = "selected='selected'";         }         else         {          ...

Most Popular Knowledgeable Websites For Indian

Lets gone those days when we are not able to get more knowledge and we depends upon others peoples. Now these days Internet reachable for every one easily even we can access internet on mobile. Here are some most popular knowledgeable websites Educational Websites :- 1. http://www.w3.org/ 2. http://www.w3schools.com/ 3. https://www. wikipedia . org/ 4.  http://www.computerhope.com/ 5.  http://www.gktoday.in/ 6.  http://www.sakshat.ac.in/ 7. http://www.tutorialspoint.com/ 8. http://www.elearn99.com/ Online Searching Websites :- 1. http://www.google.com/ 2. http://www.bing.com/ 3. http://www.aol.com/ Online Data Storage Websites :- 1. http://www.drive.google.com/ 2. http://www.adrive.com/ 3. https://www.dropbox.com/ 4. https://www.onedrive.live.com/ 5. https://www.copy.com/ Online Language Learning Websites :- 1. http://www.fis.edu/ 2. http://www.livemocha.com/ 3. https://www.busuu.com/enc/ Online Library Websites :- 1. https://www.quest...

Add Event in Google Calendar Using Javascript

Add Event in Google Calendar Using Javascript with google authentication. More information visit on https://developers.google.com/google-apps/calendar/ <a href="javascript:void(0)" class="addEvent-button" id="addEvent-button"  onclick="addEventOnClick('<?php echo htmlentities($array); ?>');"><img src="img/gcalendar.png" title="Add to google calendar" style="height:24px !important;width:24px !important;"></a> <script type="text/javascript">     var clientId = 'CLIENTID';     var apiKey = 'APP KEY';     var scopes = 'https://www.googleapis.com/auth/calendar';     // Oauth2 functions     function handleClientLoad() {         gapi.client.setApiKey(apiKey);     }         function addEventOnClick(data)     {         gapi.auth.authorize({client_id: clientId, s...

Share on Social Sites using javascript Popup

Share on Social Sites using javascript Popup on click Share Image includes whatsapp. Share Sites Metatags. Share with image on facebook, google plus, twitter. <html> <head>     <title>Share in Social Sites</title>     <!-- Twitter Meta Tags -->     <meta name="twitter:card" content="summary"/>     <meta name="twitter:site" content="www.domain.com"/>     <meta name="twitter:title" content="Title Here">     <meta name="twitter:description" content="Description here"/>     <meta name="twitter:creator" content="Creater name"/>     <meta name="twitter:image" content="Full image path here"/>     <meta name="twitter:domain" content="domain.com"/>         <!-- Google Plus Meta Tags-->     <meta itemprop="name" content="do...

Import Hotmail Contacts using Javascript

Import Hotmail Contacts using Javascript For more information visit http://support.loginradius.com/hc/en-us/articles/201625646-How-do-I-create-a-MSN-Hotmail-Live-app- Example:- <!DOCTYPE html> <html>     <head>         <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>         <!--WL Library For Hotmail API-->         <script src="//js.live.net/v5.0/wl.js"></script> </head> <script>     var APP_CLIENT_ID = "000000004812A421";     var REDIRECT_URL = "http://xyz.com/index/import";     var CLIENT_SECRET = "c86m2XYZXaIG9CjTsbpQdvbIuR7vaaDl";     WL.init({               client_id: APP_CLIENT_ID,             ...