1 / 16

Agenda

Agenda. Web Application Web Page development WAMP Familiarization of WAMP Environment Simple applications using WAMP. HTML File. <html> <head> <title>A BASIC HTML FORM</title> </head> <body> <FORM NAME ="form1"  METHOD  =" "  ACTION  = "">

frye
Download Presentation

Agenda

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Agenda • Web Application • Web Page development • WAMP • Familiarization of WAMP Environment • Simple applications using WAMP

  2. HTML File <html><head><title>A BASIC HTML FORM</title></head><body> <FORM NAME ="form1" METHOD =" " ACTION = ""> <INPUT TYPE = "TEXT" VALUE ="username"><INPUT TYPE = "Submit" Name = "Submit1" VALUE = "Login"> </FORM></body></html>

  3. Web Development JSP ASP.NET Python PHP Ruby

  4. Apache Software Foundation • www.apache.org

  5. open source relational database management system  • MySQL is written in C and C++ • The most popular database system that is used with PHP is MySQL • www.mysql.com

  6. PHP • Hypertext Preprocessor • server-side scripting language • Dynamic and interactive Web pages • PHP is an open source software

  7. Install WAMP Server • www.wampserver.com • Double click on the WAMP icon • On Taskbar, wamp icon will appear as Red, then as Orange and finally to Green • Green indicates all components in wamp working properly

  8. Localhost phpMyAdmin www directory

  9. www directory • Create a folder • Save your php files into that folder • C:\wamp\www\<your folder>

  10. PHP File <html> <body> <h1>My First PHP Program</h1> <?php echo "Welcome to PHP"; ?> </body> </html>

  11. <html> <body> <h3>Adding Number using form</h3> <form method="POST" name="form1"> <p>First No <input type="text" name=“atext"/></p> <p>Second No <input type="text" name=“btext"/></p> <p><input type="submit" name="bttn" value="submit"/></p> <?php if(isset($_POST['bttn'])=="submit"){ $a=$_POST[‘atext']; $b=$_POST[‘btext']; $c=$a+$b; echo "sum is ".$c; } ?> </form> </body> </html>

More Related