25-March time table Get link Facebook X Pinterest Email Other Apps March 24, 2013 Tomorrow at 25-march 2013 first period will be of php 2nd class will be free 3rd class will be of research method by Sir Zeeshan instead of Networking class He will discuss something about papers. Get link Facebook X Pinterest Email Other Apps Comments
Html code for yahoo registration page September 30, 2012 <html> <body style="background-color:grey;"> <div id="container" width="500"> <div id="header" style="background-color:#A0522D;"> <h1 style="margin-bottom:0;font-size:36pt;margin-left:150px;"><span style="color:4B0082;"><i>Y<sup>A</sup>H<sub>O</sub>O<span style="color:yellow">!</span></span></i></h2><form align=right><h1>Yahoo! ID:<input type="textfield"/>Password:<input type="Password"/> <input type="button" value="Log in"/></form> </div> <div id="menu" style="background-color:whitw;width:100px;height:900px;float:left;"> </div> <div id="content" style="background-color:#DCDCDC;float:left;width:700px;height:1100px;"><h3>With a Yahoo! Account, get free email... Read more
Database connect with php April 18, 2013 <?php error_reporting(0); include("db.php"); if($_REQUEST['id'] != ""){ $id = $_REQUEST['id'] ; $del = "delete from one where id = $id"; $dd = mysql_query($del); } $q = "select * from one;"; $res = mysql_query($q); ?> <html> <head> <title>3rd page</title> </head> <body> <table border="2" cellpadding="2" cellspacing="2"> <tr> <td>ID</td> <td>Name</td> <td>Email</td> <td>Password</td> <td>Delete</td> <td>Edit</td> </tr> <?php while($row = mysql_fetch_array($res)){ ?> <tr> <td><?php echo $row['id']; ?></td> <td><?php echo $row['name']; ?></td> <td><?php echo $row['email']; ?></td> <td><?php echo $row['password']; ?></td> <td><button onClick=... Read more
Code for Database Connection confirmation PHP+HTML April 18, 2013 <html> <head> <title> web page 2</title> </head> <body> <?php error_reporting(0); $con=mysql_connect("localhost","root",""); if($con){ mysql_select_db('one',$con); echo "connection successfully"; } else{ echo "connection fail"; } $id=$_REQUEST['id']; $name=$_REQUEST['name']; $email=$_REQUEST['email']; $password=$_REQUEST['password']; $query="INSERT INTO `db1`.`one` (`id`, `name`, `email`, `password`) VALUES (NULL, '$name', '$email', '$password'); "; $r = mysql_query($query); if($r) {echo "inserted";} else {echo "error";} ?> </body> </html> Read more
Comments
Post a Comment