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 get json data from mysql in php
how to get single data from mysql in php
how to retrieve data from mysql database in php
how to fetch data from mysql using jquery ajax in php
how to retrieve data from mysql using php
how to fetch data from two tables in mysql using php
how to fetch data from three tables in mysql using php
is fetch available in mysql
get data from mysql php