PHP Ecom Part 9 : How to fetch & display category in PHP | Fetch Category image in PHP MySQL

preview_player
Показать описание
In this video, you will learn how to fetch & display category data in PHP MySQL. We will be fetching the category data along with the category image and display it in the admin dashboard.

If the video helps you, hit the like button and subscribe to the channel. If you have any doubts or suggestions, drop them in the comments below and i will answer them.
Thanks for watching

Рекомендации по теме
Комментарии
Автор

Full E-commerce sir and adding report print thank you

hasanabdiali
Автор

After including the dbcon in myfunctions login page shows dbcon is not found

itsjustayoutubeuser
Автор

In upload folder image is not added, then not display in all category file

asgar
Автор

The variable $query_run is not named in camelCase. How ca i fix it

io
Автор

Sir please build hotel management system in php and mysql please sir 🙏

mahamedmuqtaar
Автор

it says the variable $query_run is assigned but never used.. so when calling the getAll() function is says it has a void function can someone help me with this?

maganeyrs
Автор

my images dont display, just the name.... any solution?

vinnnduri
Автор

<img src="../uploads/<?= $item['image'];?>" alt="<?= $item['name'] ?>">
this code isn't working, it will not print image in output

visionop
Автор

I did this in myfunctions(dot)php
function getAll($table){
global $con;
$query = "SELECT * FROM $table";
$query_run = mysqli_query($con, $query);
return $query_run;
}
and for category(dot)php
$category = getAll("categories");

if(mysqli_num_rows($category) > 0){

while($row =

}
}

leinah
visit shbcf.ru