OUR MUST POPULAR POST
-
A Programmer’s Introduction to PHP 4.0 W. J. Gilmore A Programmer’s Introduction to PHP 4.0 Copyright ©2001 by W. J.Gilmore All rights rese...
-
The technique employed in the Accessing Private Functions in JavaScript article involved converting a function into an object constructo...
-
Registry Editor is a tool intended for advanced users. It's used to view and change settings in the system registry, which contain...
-
Chapter 1 Basics of Web Technology The Internet is a global network of networks that connects computer users around the wo...
-
Lesson overview In this lesson, you’ll learn how to do the following: • Use guides to position text in a composition. • Make a clip...
-
Makisu – the virtual bamboo mat Justin Windle aka soulwire, born in the UK, but now living in the United States, developed Makisu, a c...
-
jPanelMenu: Perfect For Responsive Designs Anthony Colangelo earns his money as a developer for design agency Happy Cog, which with thr...
-
We will create four steps in our form: 1. username and password fields 2. first and last name and email address 3. age, gender and ...
-
Macromedia Freehand Macromedia Freehand is a designing programs. It is a vector base programs which pixels does not loss. I...
-
<?php $conn=mysql_connect("localhost","root",""); mysql_select_db("root",$conn); $sql="I...
Saturday, July 6, 2013
Insert Command In PHP
<?php
$conn=mysql_connect("localhost","root","");
mysql_select_db("root",$conn);
$sql="INSERT INTO progress(Name,Economics,English,Nepali,Business_Studies,Accounts)
VALUES
('$_POST[name]','$_POST[eco]','$_POST[eng]','$_POST[nep]','$_POST[bst]','$_POST[acc]')";
$result=mysql_query($sql);
if($result==1){
header("location:submit.php");
}
else{
header("location:notsubmit.php");
}
mysql_close($conn);
?>
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
Thanks for comment me