Answer the question
In order to leave comments, you need to log in
How to make conditions in a row?
Hello! I have a number of conditions
if (!empty ($row[group2])) {
echo "<p> <a href=index.php>Редактировать '" . $row['group2'] . "'</a></p>";
}
if (!empty ($row[group3])) {
echo "<p> <a href=#>Редактировать '" . $row['group3'] . "'</a></p>";
}
if (!empty ($row[group4])) {
echo "<p> <a href=#>Редактировать '" . $row['group4'] . "'</a></p>";
}
if (!empty ($row[group5])) {
echo "<p> <a href=#>Редактировать '" . $row['group5'] . "'</a></p>";
}
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question