[PHP] Re: mySQL Results To XML -- my xmltag() functions

2007-10-06 Thread Timothy Murphy
posted mailed mike wrote: I made this at one point: function array2xml($array, $complete = true) { $xml = $array[NODE] ; unset($array['NODE']); ksort($array); foreach(array_keys($array) as $key) { $xml .= $key=\$array[$key]\ ; } if($complete) {

[PHP] Calendar booking form in PHP/MySQL

2007-07-03 Thread Timothy Murphy
. Any pointers or scipts or suggestions gratefully received. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net

[PHP] Address book - LDAP or MySQL?

2007-06-29 Thread Timothy Murphy
. Is that right ... ? I'd be interested to hear your views. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit

[PHP] RE: Address book - LDAP or MySQL?

2007-06-29 Thread Timothy Murphy
, but they are not really relevant to my enquiry. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http

[PHP] Booking form, please

2007-06-14 Thread Timothy Murphy
I'm looking for a form to allow people to book an hour on a computer system. Is there a standard PHP program for this? Or can you point me to such a program, please? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School

[PHP] Standard Address Book?

2007-04-23 Thread Timothy Murphy
Is there any kind of standard for a PHP/SQL/XML addressbook? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net

[PHP] Re: Standard Address Book?

2007-04-23 Thread Timothy Murphy
just wondered if there was any kind of agreed standard in this area. vCards and Jabber seem to be alternative approaches; but as far as I can see no format has won general approval, which I find rather surprising. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353

Re: [PHP] PHP editor

2007-04-13 Thread Timothy Murphy
Just showing my ignorance, probably, but what exactly is meant by a PHP editor? Does it mean an editor for editing PHP scripts, or an editor written in PHP? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics

Re: [PHP] PHP editor

2007-04-13 Thread Timothy Murphy
have seen. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Re: Simple question on simplexml

2007-04-09 Thread Timothy Murphy
I have to introduce a DOMDocument? As may be obvious, I am very new to PHP programming; and advice or suggestions gratefully received. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College

[PHP] Re: Simple question on simplexml

2007-04-09 Thread Timothy Murphy
= $docA-save(/tmp/catalog.xml); - Timothy Murphy wrote: I have a catalog in XML format: ?xml version=1.0 encoding=iso-8859-1 ? catalog book ... book book ... book ... /catalog Now I want to add another book, which I have

[PHP] Simple question on simplexml

2007-04-06 Thread Timothy Murphy
Can I add this new entry to the catalog using SimpleXML functions, or do I have to introduce a DOMDocument? As may be obvious, I am very new to PHP programming; and advice or suggestions gratefully received. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86

[PHP] Re: PHP textbook suggestions?

2007-04-05 Thread Timothy Murphy
is good-- doesn't have to be a traditional textbook! But it shouldn't be a reference manual either. Why do you think these are good/bad, as a matter of interest? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School

[PHP] Example from www.php.net

2007-04-02 Thread Timothy Murphy
that 'The above example will output: name=one game=lonely' However, in my case it outputs nothing. (I'm running php-5.1.6 under Fedora-6.) Is there an error in the example; or is the error mine? -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353

[PHP] Re: Example from www.php.net

2007-04-02 Thread Timothy Murphy
Timothy Murphy wrote: I was trying Example 2147, which reads: --- ?php $string = XML a xmlns:b foo name=one game=lonely1/foo /a XML; $xml = simplexml_load_string($string); foreach($xml-foo[0]-attributes() as $a = $b) { echo $a,'=',$b,\\n

[PHP] Problem with XSLT importStyleSheet

2007-03-28 Thread Timothy Murphy
I'd be very grateful if someone could check if these scripts work for you, so I can see if it is a problem with Fedora PHP, or with PHP itself, (or if I am doing something silly, which is quite probable). -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie

[PHP] Re: Problem with XSLT importStyleSheet

2007-03-28 Thread Timothy Murphy
with importStyleSheet() in them caused the same Segmentation fault. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net

[PHP] Re: PHP newbie question on xslt

2007-03-27 Thread Timothy Murphy
a PHP program like this? (I tried running strace php ex2526.php but this didn't enlighten me.) -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List

[PHP] PHP newbie question on xslt

2007-03-26 Thread Timothy Murphy
, to get the program to run? Any advice or suggestions gratefully received. -- Timothy Murphy e-mail (80k only): tim /at/ birdsnest.maths.tcd.ie tel: +353-86-2336090, +353-1-2842366 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland -- PHP General Mailing List (http://www.php.net