fetch

PHP Tutorial (& MySQL) #26 - Getting Data From a Database

0:00
↔️ ↕️

Timecodes:

alright then so we've made our

connection to the database now how about

we try to actually retrieve some data

from it so we do that by issuing SQL or

sequel commands or otherwise called

queries ok now there's three steps to

making these queries sending them and

getting the data and it basically just

sent them first of all we construct the

query ok then we make the query and then

we fetch the results from that query so

there the three steps that we need to

perform so first of all let's actually

write the query to get all the pizzas so

let's do a little comment right here and

I'm gonna say write query for all pizzas

okay so I'm gonna store this query that

we construct in a variable and I'm going

to call it sequel or SQL and we're gonna

set that equal to a string and this is

where we're going to write our SQL now


Related queries:


how to retrieve data from mysql database in php
how to fetch data from mysql database using php
how to retrieve data from database in php using mysql pdo
how to retrieve blob data from mysql database using php
how to retrieve data from mysql database and display in text field in php
how to fetch data by id in textbox from database in php mysql
how to fetch the data from mysql in php
get data from mysql php
how to fetch data from database in mysql