Friday, September 30, 2011

How to Attach External File of Javascript?

The process to attach a JavaScript file with the html file is -----


  1. First you have to create a JavaScript code file.
  2. Save it with extension .js.
  3. Now create an HTML code file.
  4. Give the complete address of js file into script tag under src=" ".
  5. Save it with extension .html or .htm.
  6. Run HTML file.
Example:--

JavaScript Code:---

var m1,m2,m3;
m1=prompt("Enter the 1st no.:");
m2=prompt("Enter the 2nd no.:");
m1=parseInt(m1);
m2=parseInt(m2);
m3=m1+m2;
document.write("Addition is :" +m3);

HTML Code:---


Input:---



Output:---
Addition is 36.

Sunday, September 25, 2011

Kisi Ka Khwaab

Bahut dur ka safar taiy karke aaya hu
Apne jazbaat ko qaid kar k aaya hu
Zindgi me paane ki khwahish to kuch aur thi
Par shayad kisi ka khwaab pura karne aaya hu

Bahut dur nikal aaya hu ki ab wapas ja nahi sakta
Mai kisi ki aas ko yun bhula nahi sakta
Zindgi k safar ka maza hi kuch aisa tha
Ki ab mai bhul kar bhi usko bhula nahi sakta

Thursday, August 18, 2011

Main Bhi Anna, Tu Bhi Anna

Mai bhi Anna, Tu bhi Anna,
Keh raha har bhuka nanga,
Awaam yahan ki jaag uthi
sarkar ko hai pehchan uthi

Terrorist ko jo khilaye khana
nirdosh ko jo banaye nisana
mehngai badhakar bhare khazana
desh ki janta jane bhed ye saara..



Anna ne hai sikha diya
Anna ne hai jaga diya
desh tumhara pyara hai
iss par adhikar tumhara hai
nahi jhuko iss atyachar k aage
nahi jhuko sarkar k aage

Jo haq hai hamara hume chahiye
corrupt ko jald se jald hataiye

Thanks
Rishi Agarwal

Sunday, August 7, 2011

HAPPY FRIENDSHIP DAY

दोस्त एक नगमा है, गीतों के लिए
दोस्त एक फलसफा है, जीने के लिए
दोस्त एक मंजिल है, तय करने के लिए
दोस्ती एक ख्वाहिश है, आप जैसा दोस्त पाने के लिए.......

दोस्त एक साहिल है, तूफानों के लिए 
दोस्त एक आइना है, अरमानो के लिए
दोस्त एक महफ़िल है, अनजानों के लिए
दोस्ती एक ख्वाहिश है, आप जैसा दोस्त पाने के लिए.......

दोस्त एक सहारा है, कुछ कर दिखाने के लिए
दोस्त एक पहेली है, सूझ बूझ के लिए
दोस्त एक तराना है, संगीत के लिए
दोस्ती एक ख्वाहिश है, आप जैसा दोस्त पाने के लिए.......

दोस्त एक लहर है, बहने के लिए
दोस्त एक सफ़र है, चलने के लिए
दोस्त एक विचारधारा है, समझने के लिए
दोस्ती एक ख्वाहिश है, आप जैसा दोस्त पाने के लिए........


By:- Rishi Agarwal

Friday, July 29, 2011

Web Development using PHP

To develop a web application or website in PHP, then firstly we have to know about this language.

What is PHP?

PHP is the web development language. It stands for Hypertext Preprocessor. It was originally named Personal Home Page Tools. PHP is a very general-purpose scripting language that is especially suited for Web development. It is an open-source, server-side, HTML-embedded Web-scripting language that is compatible with all the major Web servers. It enables us to embed code fragments in normal HTML pages. It also makes it easy to connect our Web pages to the server-side databases.

Why PHP? 

PHP is free, open source, fully featured, stable, fast, cross platform compatibility, easy to learn, and it plays well with others.
Some points are:--
  • PHP can quickly be added to code produced by WYSIWYG editors.
  • PHP lends itself to a division of labor between designers and scripters.
  • PHP can reduce labor costs and increase efficiency.
What is MySQL?

MySQL is an open source, SQL RDBMS that is free for many users. It is mostly used with PHP, Java, Perl and Python. Databases like My SQL, SQL Server etc. are useful product of modern computing. It is a powerful standards compliant RDBMS that comes in at an extremely competitive price point.

Benefits of Web development using PHP
  • It supports multiple platforms.
  • It supports various web servers.
  • It provides fast development.
  • It supports multiple databases also.
  • It provides various security levels.
For more details and for developing a new website Click here......
source: PHP5 Bible

Tragedy in Aliganj: A Dark Day for Lucknow as Fire Claims 15 Young Lives

The city of Lucknow was gripped by absolute shock and profound grief on Monday afternoon when a catastrophic fire tore through a three-store...