![]() firstly we have connected to database name as studentdb.We will handle that submit in php as given below query($query) As you click insert a form is submitted to index.php as we have mention in action attribute of form. Then fetch query by fetch_assoc() functionįor Performing insert Operation you have to feel every field as Name, Address etc and then click Insert.By first Connecting to Database with root user and password in my case which is empty.Lastly we are calling student_table data in our table through PHP scripting.We have given three button to INSERT, UPDATE AND DELETE operation.So that if $name value is there then only have to show. We have used php script in input value.So that again this page is called with input values We Are using form to submit all input values.Then we have designed 5 inputs field with their name as Name,Address,Telephone,Standard, RollNumber So that we can identify them because of their names in PHP Script.In Above code first we have declare w3.css link to uses all its classes in our php we application.We will first design HTML by following is code for designing HTML with w3.css beautification. Now Create new file name as index.php in that folder.) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=5 `student_id` int(11) NOT NULL AUTO_INCREMENT, Just Write below query in SQL TabĬREATE TABLE IF NOT EXISTS `student_table` ( Or you can create table through sql Query.and Give Column name and data type for column You can create table by going inside database and click New to create new Table.you can create database by clicking new and then give database name as StudentDB and click create. You can create database by going to phpmyadmin.You can find help how to install visual studio code here If opened successfully than you have successfully installed wamp on your local machine. After installing wamp kindly open to get wamp server index page. You can download WAMP 2.5 from here and install it to test our software. w3.css We are using W3.css in our web page to beautify itĪll the above technology stack is available in WAMP server.To know more about task kindly read this POST . In this article we will completing student details system task. which is indirectly contain PHP, MYSQL ,APACHE stack. Facebook, WordPress and it is said that almost 25% website live now is on wordpress. Many famous applications are writing in this languages which includes. Many Startup company adopted this technology stack to develop there software. MYSQL is really effecient and secure sql server it is open source that's why many startup companies relies on it. Its all functionality and syntax is available here . It will be executed only one time at the time of page request. It will be running on server side to fetch data from database to show to screen. It Gives tight competition to the ASP.net. ![]() It contains all features of programming language and it is light weight also. It Gives power to simple HTML page to fetch and update dynamic data. PHP is a open source server scripting language which is used for writing Web Application.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |