From b1a83e156dac9901ece415d073b038d925048d16 Mon Sep 17 00:00:00 2001 From: Shikiryu Date: Mon, 21 Oct 2019 09:46:52 +0200 Subject: [PATCH] --- Update.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Update.md b/Update.md index 975b93a..29d3262 100644 --- a/Update.md +++ b/Update.md @@ -6,10 +6,10 @@ We offered you 2 ways to `Update` items into the XMLDB: *Params:* -`$table` : String : name of the table -`$oldAttribute` : Array : name of the actual attribute of the element (it will find the element thanks to it...) -`$newAttribute` : Array : same but new -`$forceInsert` : boolean : if the attribute doesn't exist do we create it ? +* `$table` : String : name of the table +* `$oldAttribute` : Array : name of the actual attribute of the element (it will find the element thanks to it...) +* `$newAttribute` : Array : same but new +* `$forceInsert` : boolean : if the attribute doesn't exist do we create it ? *Example:* @@ -29,4 +29,4 @@ $xmldb = new XMLDB('db.xml'); $xmldb->updateNodeValue('table1', array('id', 'notes'), null, 'booga!'); ``` -Note : Like in the example, you can also change the item value *but it will erase all children in the process* \ No newline at end of file +Note : Like in the example, you can also change the item value **but it will erase all children in the process** \ No newline at end of file