#2) How to fetch data from mysql db in php tamil | select all records from database in php tamil

Описание к видео #2) How to fetch data from mysql db in php tamil | select all records from database in php tamil

Learn about how to fetch data from database in php tamil | php display record in mysql database | display record in php tamil | fetch data from database in php tamil | how to take particular record from database | how to select record and print in webpage php tamil | how to fetch first 30 records | how to fetch first n records in php tamil | how to get number of rows in mysql database results | how to fetch data from database in php tamil

We need to create db connection first thing

Here we have to use mysqli_connect() function for make db connection

create query for which type of records we are going to take from the table, weather whole record or particular record. "SELECT * from table_name"
select field_names from table_name limit your_number;
mysqli_query() is used to execute the query

mysqli_fetch_assoc() is used to fetch the records
mysqli_num_rows() is used to find how may rows are the in the result

While loop is used to get or iterate one by one rows.

table is used to display the record as user understandable

DB Connection in php:
   • #1) How to make mysql database connec...  

Комментарии

Информация по комментариям в разработке