Skip to main content

Posts

Showing posts from September, 2011

Motorola Tries to Reheat Xoom With 4G Boost

Motorola and Verizon Wireless on Wednesday got around to delivering what's been promised to owners of the Xoom tablet for several months: 4G LTE. When the Motorola Xoom first went on sale early in 2011, buyers were told that they'd eventually be able to send their 3G-wireless-equipped tablets to a workshop where they'd be upgraded with faster 4G wireless hardware free of charge. The upgrade was promised to come in the first half of the year. Verizon also announced the upcoming availability of a Xoom that comes with 4G technology pre-installed. The Xoom has been on the market since February, when it debuted as the first tablet to feature Android Honeycomb, a version of the OS designed specifically for tablets. It was initially viewed as a worthy iPad competitor, though its sales took a hit when Apple (Nasdaq: AAPL) released the iPad 2 a few weeks later. Through the process, Verizon maintained the 4G version of the Xoom and the upgrade offer would be available by the end of t

Modi to skip BJP's national executive

Narendra Modi will be skipping the two-day national executive of BJP to be held in New Delhi from tomorrow, indicating that all may not be well between the Gujarat chief minister and the party. "The chief minister is not going to Delhi to take part in the BJP national executive meeting. This is not the first time that Modi is not attending such a meeting,"a source in the Chief Minister's office (CMO) told PTI. The development comes after his chief mentor L K Advani announced a rath yatra against corruption from Bihar, to be flagged off by the state's Chief Minister Nitish Kumar, who had not allowed Modi to campaign in that state during the last assembly elections there. "He has also undertaken the fast of Navratri, and he does not go out during the fast,"the CMO source said. "The chief minister will attend a meeting of Somnath Trust tomorrow, and other routine meetings,"an official said. The national executive is likely to discuss the

Include Javascript

Javascript is client side language. Basically we use javascript for validation and dynamic data change. First of all you have to know how can we include our javascript code in our html page. It is a good programming practice to put your javascript code in your head tag. Now there are two ways from we can apply our javascript in our page i) Internal ii) External The syntax of applying javascript internally : <script type="text/javascript" > // your code is here ; </script > Now the second one External javascript : The syntax of External Javascript is : <script type="text/javascript" src="path to your js file " > </script > Here js file means : When you want to create html file at that time you give extension to that file is .html When you want to create php file at that time you give extension to that file is .php So When you want to create Javascript file at that time you give extension to that file is .js Keep in mi

PHP Loops

Loop : In normal language that means repeat some steps. In your program when you want to execute same statement so many times at that time you have to use this task. In PHP, we have the following looping statements: while - loops through a block of code while a specified condition is true do...while - loops through a block of code once, and then repeats the loop as long as a specified condition is true for - loops through a block of code a specified number of times foreach - loops through a block of code for each element in an array The while loop : The syntax of while loop is : While (your condition) { your code to be executed; } Lets understand while loop with example : $i=0; while($i<5) { echo "Php while loop"; $i++; } The output of the above program is : Php while loop Php while loop Php while loop Php while loop Php while loop Keep in mind when the condition becomes false the loop will terminate. Because i

Php Array

When we want to store multiple values in single variable at that time we have to use array. For example in php normal variable $a. now $a = 5; Current value of a is 5 , but i want to store new value to a is 2 so i have to write $a=2; Because of last statement the value of a is now 2 but in that case we cannot maintain the last value that is lost and that value is 5. Now in that case i have to take an array to store multiple values in a single variable. Simple example of array in php is $cars=array("Saab","Volvo","BMW","Toyota"); and as you know that when you want 2 assign that manually at that time you have to write like this : $cars[0]="Saab"; $cars[1]="Volvo"; $cars[2]="BMW"; $cars[3]="Toyota"; and if you want to access any of them just write the name of the variable and the index . For example : echo $cars[2]; // it will print BMW. Associative Arrays An associative array, each ID key is associated with

Php variables

variables means who can store the value and in further execution we can change the value means varying the value. In c and C++ we normally declare variable : datatype name of variable; int c ; :- Here datatype means whatever the value you will assign to c that is depend on the datatype means int can accept only integer values so you can not assign value with fraction part in c ex c=9.7 that is wrong but in php the syntax is $name of your variable ; for example : $a ; $a="test"; or $a = 8.9; In the example above, you see that you do not have to tell PHP which data type the variable is. PHP automatically converts the variable to the correct data type, depending on its value. In a strongly typed programming language, you have to declare (define) the type and name of the variable before using it. thats why PHP is a Loosely Typed Language.

Php Syntax

A PHP scripting block always starts with <?php and ends with ?>. A PHP scripting block can be placed anywhere in the document. On servers with shorthand support enabled you can start a scripting block with <?php and end with ?>. For maximum compatibility, we recommend that you use the standard form (<?php ?>) rather than the shorthand form. but the difference between <?php and <? ?> is when you are using <? ?> at that time in your server short open tag must be allowed if and only if it is allowed then you can write this syntax. And <?php ?> it is standard syntax whether short open tag is allowed or not.

Introduction php

What is PHP? PHP stands for PHP: Hypertext Preprocessor PHP is a server-side scripting language, like ASP PHP scripts are executed on the server PHP supports many databases (MySQL, Informix, Oracle, Sybase, Solid, PostgreSQL, Generic ODBC, etc.) PHP is an open source software PHP is free to download and use What is a PHP File? PHP files can contain text, HTML tags and scripts PHP files are returned to the browser as plain HTML PHP files have a file extension of ".php", ".php3", or ".phtml"

Javascript Email validation

Hi...all In this post we are discussing about javascript validationof email. ok.first of all check these things the name of your form form1 for example the name of your field email for example the name of yout id email for example now javascript means client side validation that you can perform by onclick or onsubmit event.. Suppose we use onclick event in your html page code is input type="botton" onclick="validate()" Now we have to create javascript function function validate() { // we can use name or email 1 if(document.form1.email.value!="") { 2 if(document.form1.email.value.search(/^\w+((-\w+)|(\.\w+))*\@[A-Za-z0-9]+((\.|-)[A-Za-z0-9]+)*\.[A-Za-z0-9]+$/) == -1) { 3 alert("Invalid Email Address"); 4 document.form1.email.focus(); 5 return false; } } Execution : 1 line checks the value of email field is blank or not 2 line if the condition of first line satisfy at that time line 2 checks some of content

Introduction about technology

Technology is the making, usage, and knowledge of tools, machines, techniques, crafts, systems or methods of organization in order to solve a problem or perform a specific function. It can also refer to the collection of such tools and machinery. The word technology comes from Greek τεχνολογία (technología); from τέχνη (téchnē), meaning "art, skill, craft", and -λογία (-logía), meaning "study of-".[1] The term can either be applied generally or to specific areas: examples include construction technology, medical technology, and information technology.