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) {
>
on the calendar.
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:
some kind.
It may be used for other purposes,
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 Li
t seems the way to go.
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
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: S
dress book
for my own use, using a PHP/XML format,
and I 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.
--
Ti
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/)
Press (WP), and am not particularly enamoured
of any of the WP editors I 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 Lis
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-ma
->appendChild($new);
}
$output = $docA->save("/tmp/catalog.xml");
-
> Timothy Murphy wrote:
>> I have a catalog in XML format:
>>
>>
>>
>> ...
>>
>>
>> ...
>>
>&g
t;>
>>...
>>
>>
>> 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
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, Dub
o substr("abcdef", 1);
>
>
> I will be teaching, so a book that a student can-- before the class--
> work through and understand 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
Timothy Murphy wrote:
> I was trying Example 2147, which reads:
> ---
> $string = <<
> 1
>
> XML;
>
> $xml = simplexml_load_string($string);
> foreach($xml->foo[0]->attributes() as
'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
xsl rules
echo $proc->transformToXML($xml);
?>
Now I get
[EMAIL PROTECTED] Test]# php ex2526.php
Segmentation fault
I tried a few other examples,
but all those with importStyleSheet() in them
caused the same Segmentation fault.
--
Timothy Murphy
e-mail (&l
ork 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
tel: +353-86-2336090, +353-1-2842366
s-mail: School of Mathematics, Tri
proc->transformToXML($xml);
?>
-
from
http://www.php.net/manual/en/function.xsl-xsltprocessor-transform-to-xml.php
-
[EMAIL PROTECTED] Test]# php ex2526.php
// Example 2526. Transforming to a string
Segmentation fault
-
eating an XSLTProcessor
Segmentation fault
I'm running the program under Fedora-6 Linux
with the latest versions of all programs.
Is there something I should have included,
to get the program to run?
Any advice or suggestions gratefully received.
--
Timothy Murphy
19 matches
Mail list logo