Mercurial > hg > webaudioevaluationtool
comparison php/save.php @ 3121:edd536f01e4b
Include config.php
author | Nicholas Jillings <nicholas.jillings@mail.bcu.ac.uk> |
---|---|
date | Wed, 18 Jul 2018 16:51:26 +0100 |
parents | 53d701288da5 |
children | c7de85e03321 |
comparison
equal
deleted
inserted
replaced
3120:53d701288da5 | 3121:edd536f01e4b |
---|---|
1 <?php | 1 <?php |
2 | 2 incluce_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)) { |