Write a PHP script to demonstrate use of arithmetic operators, comparison operators, and logical operators || DWPD Practical 9 OctoWrite PHP Script using two dimensional arrays such as addition of two 2×2 matrices. || DWPD Practical 20 NovemWrite HTML codes for displaying image and demonstrate hyper linking || DWPD Practical 1 OctoWrite a PHP script to display Welcome message. Write a PHP script to create and drop database. Write a PHP script to set type of variable using settype || DWPD practical-10 OctoWrite a PHP script to connect MYSQL server from your web application. Write PHP script to demonstrate use of string function || DWPD Practical 14 OctoWrite a PHP script to get type of variable using gettype(). Write PHP script Using user defined function. We highly recommend you watch this video for better understanding. $conn=mysqli_connect($servername,$username,$password,$database) ĭie("oops connection failed".mysqli_connect_error()) Įcho "Grate Your connection is successful" Write a program to read input data, from table and display all these information in tabular form on output screen. Step 9: Now you can see the data in a table Step 8: Now click on the Browse menu to view inserted data Step 7: Insert values and click the Go button at the bottom Step 6: After the table, creation click on insert from the navigation Step 5: Insert fields name with data type and range, set the primary key, auto-increment to id, and click Save button Step 4: to create table type table name & number of fields then click the GO button Step 3: type database name and click Create Button Step 2: Open Your browser then Type localhost/PHPMyAdmin in the URL Step 1: Turn on local server xampp or wamp & start Apache and MySQL Follow these steps to create a database, create a table, insert and view data from a table using phpMyAdmin
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |