Calling number of database table values at one line i.e, "list" function in PHP
// If project name is not available in the database table then project name will not show on the screen.
if($projectname!='')
{
?>
// If Designer name is not available in the database table then the name and html tag values will not show on the screen.
if($designer!='')
{
?>Designer:
Output:
Here , If not available designer for correspondent project ,then the above Designer word with html tag will not be displayed on the screen. So we can use the condition for required values.