diff --git a/learn/crud/xml/index.php b/learn/crud/xml/index.php index 0ee7246a..271dc405 100644 --- a/learn/crud/xml/index.php +++ b/learn/crud/xml/index.php @@ -12,40 +12,37 @@ Insert a new student

- + + + ID + First name + Last name + Nickname + Date of birth + Mark + Edit + Delete + + + + "; - echo ''; - echo ''; - echo 'ID'; - echo 'First name'; - echo 'Last name'; - echo 'Nickname'; - echo 'Date of birth'; - echo 'Mark'; - echo 'Edit'; - echo 'Delete'; - echo ''; - echo ''; - echo ''; - - foreach($xml->children() as $student) { - echo ''; - echo '' . $student['id'] . ''; - echo '' . $student->first_name . ''; - echo '' . $student->last_name . ''; - echo '' . $student->nickname . ''; - echo '' . $student->date_of_birth . ''; - echo '' . $student->mark . ''; - echo "Edit"; - echo "Delete"; - echo ''; - } - - echo ''; - echo ''; - ?> + foreach($xml->children() as $student) { + echo ''; + echo '' . $student['id'] . ''; + echo '' . $student->first_name . ''; + echo '' . $student->last_name . ''; + echo '' . $student->nickname . ''; + echo '' . $student->date_of_birth . ''; + echo '' . $student->mark . ''; + echo "Edit"; + echo "Delete"; + echo ''; + } + ?> + +