Download presentation
Published byDevonte Stoller Modified over 9 years ago
2
Agenda Web Application Web Page development WAMP
Familiarization of WAMP Environment Simple applications using WAMP
5
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>
6
Web Development JSP ASP.NET Python PHP Ruby
8
Apache Software Foundation
9
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
10
PHP Hypertext Preprocessor server-side scripting language
Dynamic and interactive Web pages PHP is an open source software
11
Install WAMP Server 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
12
Localhost phpMyAdmin www directory
13
www directory C:\wamp\www\<your folder> Create a folder
Save your php files into that folder C:\wamp\www\<your folder>
14
PHP File <html> <body> <h1>My First PHP Program</h1> <?php echo "Welcome to PHP"; ?> </body> </html>
15
<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>
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.