comparison php/save.php @ 3123:c7de85e03321

As 5pm approaches,the error count increases (YAUC)
author Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk>
date Wed, 18 Jul 2018 16:53:38 +0100
parents edd536f01e4b
children
comparison
equal deleted inserted replaced
3122:3e97bf9d24cf 3123:c7de85e03321
1 <?php 1 <?php
2 incluce_once("config.php"); 2 include_once("config.php");
3 function findNodeByAttribute($nodeList, $attributeName, $attributeValue) { 3 function findNodeByAttribute($nodeList, $attributeName, $attributeValue) {
4 if (empty($attributeName) || empty($attributeValue)) { 4 if (empty($attributeName) || empty($attributeValue)) {
5 die("Error: Empty findNodeByAttribute"); 5 die("Error: Empty findNodeByAttribute");
6 } 6 }
7 if (empty($nodeList)) { 7 if (empty($nodeList)) {