From 4a41c5ce41504283cc036eecb49cd0da76c57e64 Mon Sep 17 00:00:00 2001 From: Matthew Kessler <64028736+itstockra@users.noreply.github.com> Date: Sat, 21 Nov 2020 15:41:10 -0500 Subject: [PATCH] Update Kessler_ArrayToXML.php mvp --- Kessler_ArrayToXML.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Kessler_ArrayToXML.php b/Kessler_ArrayToXML.php index 5a3d19e..efbd756 100644 --- a/Kessler_ArrayToXML.php +++ b/Kessler_ArrayToXML.php @@ -12,6 +12,7 @@ //Append new character to next spot in array $characters[count($characters)] = array("name" => "Captain America", "email" => "captnAmerica@mail.com"); +$characters[count($characters)] = array("name" => "Superman, "email" => "superMan@mail.com"); //create temp $xml string, add opening lines for xml file $xml = "\n\n"; @@ -33,4 +34,4 @@ file_put_contents(__DIR__.'/characters.xml', $xml); -?> \ No newline at end of file +?>