PHP create HTML table with a while loop - tutorial 09.3

preview_player
Показать описание
Creating HTML tables using while loops in php. Loops can be used for all sorts of repetitive tasks that have patterns in html code. A HTML table is a good example; they have a strong recognisible structure of cells that can be created and filled with content in the iteration of a while loop.
Рекомендации по теме
Комментарии
Автор

Wow very clear and perfect explanation!

u-showspeed
Автор

I stumbled upon your channel and damn I could listen to you talk for HOURS with that voice of yours

touka
Автор

Excellent tutorial.
Very clear.
Well explained.
Nice pace.
Look forward to seeing more from you.

tomdytrych
Автор

THE BEST explanation!!! Seriously, quality material. Thank you!

crisaf
Автор

Nice..I haven't watched the rest of you videos but you speak clearly and I can follow what you are saying. I'll probably start from the beginning of the series and work my way through it. There are a ton of tutorials but it's rare to find a good one. Good job.

licemeat
Автор

I was overcomplicating my approach. This tutorial helped.

rnursemd
Автор

Thank you very much! it;'s very useful

_Liam__
Автор

Thank you. You saved my time and make my life much easier.

lizzyolaitan
Автор

THANK YOUUU THIS OPENED DOORS FOR ME COMPLETING MY ASSIGNMENT

mrahmatm
Автор

Great tutorial, how to go about this using divs and lists?

sayma
Автор

Great video! helped a lot! Thanks!

just out of curiosity where are you from? Your accent is quite interesting and I cannot figure out what exactly it is.

noelsebz
Автор

vidéo intéressant mais comment faire pour colorer la diagonale

ousseynouseck
Автор

Hi, do you offer courses on Udemy. I love your real-life web development examples.

nicevideo
Автор

what about vertical data cell? can you do that? please let me know, i need this code in php...

sigmahokies
Автор

This is so amazing. Thank you! Long shot question here: I have a series of arrays that I want to parse through and add their individual elements to the cells of a multi-row table. I can get arrays to show up in td, but as soon as I try to use a nested for loop to parse out the arrays into different rows and then write the data to td elements, the table shows up blank. Any suggestions?

AngelView_Aerial_Services
Автор

Sir how to print staric in diamond shape in a table

magicalmoments
Автор

I am trying to create a table within existing code.  I want the table to generate dynamically depending on how many results there are.  I know I can create it in html but I would prefer it in php.  The code I have at the moment is

$output .= '<h3>' . $title . '</h3>' . '<p>' . '<b>Keywords:</b> '  . $keyw . '.' . '</p><p>' . '<b>Description:</b> '  . $desc . '</p><p><b>Body:</b> ' . $body . '</p>' . '<p><b>Created:</b> ' . $created . '<p><b>Last Modified:</b> ' . $lm . '<p class="urls"><a href="' . $url .'">' . $url . '</a></p></div>';

Could you advise how to go about this?  would I need a foreach loop and if so how would I write it?  Thanks

dashbyictfd
welcome to shbcf.ru