PHP/MYsql Question

Giganews Newsgroups
Subject: PHP/MYsql Question
Posted by:  The Doctor (doct…@doctor.nl2k.ab.ca)
Date: Mon, 26 May 2008

Question:

A customer is getting

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(88) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(88) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(4) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(4) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(6) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::__construct() [function.DOMDocument---construct]: Malloc(6) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 5

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 7

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 7

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(8) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 7

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(8) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 7

Warning: Cannot modify header information - headers already sent by (output started at /usr/home/vesna/html/pryvit/church_maps/data_genxml.php:5) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 31

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(7) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(7) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(16) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(16) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 39

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(18) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(18) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 40

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(20) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(20) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 42

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(31) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(31) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 43

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(7) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(7) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(14) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(14) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 44

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(8) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(8) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(17) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(17) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 45

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(5) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(5) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(7) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(7) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 46

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(9) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(3) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(3) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 47

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(19) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(19) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 48

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(4) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 49

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(38) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(38) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 50

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(6) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(29) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(29) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 51

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(48) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(5) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(5) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Malloc(1) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMElement::setAttribute() [function.DOMElement-setAttribute]: Freed(1000) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 53

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(60) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(7) in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

Warning: DOMDocument::createElement() [function.DOMDocument-createElement]: Malloc(7) Ok in /usr/home/vesna/html/pryvit/church_maps/data_genxml.php on line 36

And the script reads:

<?php
require("churches_dbinfo.php");

// Start XML file, create parent node
$doc = new DomDocument('1.0','UTF-8');
//$doc = domxml_new_doc("1.0");
$node = $doc->createElement("markers");
//$node = $doc->create_element("markers");
$parnode = $doc->appendChild($node);
//$parnode = $doc->append_child($node);

// Opens a connection to a mySQL server
$connection=mysql_connect (localhost, $username, $password);
if (!$connection) {
  die('Not connected : ' . mysql_error());
}

// Set the active mySQL database
$db_selected = mysql_select_db($database, $connection);
if (!$db_selected) {
  die ('Can\'t use db : ' . mysql_error());
}

// Select all the rows in the markers table
$query = "SELECT * FROM `churches` WHERE `lat` >0 ORDER BY `churches`.`title` ASC";
$result = mysql_query($query);
if (!$result) {
  die('Invalid query: ' . mysql_error());
}

header("Content-type: text/xml,UTF-8");

// Iterate through the rows, adding XML nodes for each
while ($row = @mysql_fetch_assoc($result)){
  // ADD TO XML DOCUMENT NODE
  $node = $doc->createElement("marker");
  $newnode = $parnode->appendChild($node);

  $newnode->setAttribute("lat", $row['lat']);
  $newnode->setAttribute("lng", $row['lng']);

  $newnode->setAttribute("eng_name", $row['eng_name']);
  $newnode->setAttribute("ukr_name", $row['ukr_name']);
  $newnode->setAttribute("county", $row['county']);
  $newnode->setAttribute("address", $row['address']);
  $newnode->setAttribute("city", $row['city']);
  $newnode->setAttribute("province", $row['province']);
  $newnode->setAttribute("faith", $row['faith']);
  $newnode->setAttribute("URL", $row['URL']);
  $newnode->setAttribute("image", $row['image']);
  $newnode->setAttribute("title", $row['title']);

  $newnode->setAttribute("type", $row['type']);
}

$xmlfile = $doc->saveXML();
//$xmlfile = $doc->dump_mem();
echo $xmlfile;

?>

The scrip was set up on a PHP 5.2.6 and MYSQL 5.1X

and

here we are running PHP 5.2.6 and MYSQL 4.1X

..

Pointers please.

--
Member - Liberal International    
This is doct…@nl2k.ab.ca    Ici doct…@nl2k.ab.ca
God, Queen and country! Beware Anti-Christ rising!
USA petition for dissolution of your nation!

Replies