[PHP] Problem with XSLT parser

2004-02-16 Thread Peter Billen
Hello group,

I am having problems to transform xml document with xslt_process().

This is my code:



test.xml:




Peter Billen
16



test.xsl:


http://www.w3.org/1999/XSL/Transform";>



test2.xsl:


http://www.w3.org/1999/XSL/Transform";>

DUMMY



It gives the following error:

Warning: Sablotron error on line 3: cannot open file 'test.xsl/test2.xsl' in
E:\htdocs\test.php on line 5

So I believe the  in test.xsl is not working properly. If I
remove that line (so I don't use test2.xsl), it works perfect, it prints out
Peter Billen 16 (it uses the built-in rules).

And my second question is: why is the home path of the XSLT parser
c:\program files\apache\bin and not the www-home directory I set in
httpd.conf (e:\htdocs in my case)

Thanks all,

--
Peter

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] auto increment

2004-02-17 Thread Peter Billen
execute the following query:

SELECT LAST_INSERT_ID();

Peter

-Original Message-
From: marc serra [mailto:[EMAIL PROTECTED] 
Sent: dinsdag 17 februari 2004 20:17
To: [EMAIL PROTECTED]
Subject: [PHP] auto increment 

Hi,

 

i use PEAR DB with a mysql database and i want to know if there is a
solution to get last inserted id in a table.

I see that I can use sequences but it doesn't work with mysql.

 

Thanks,

 

Marc.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php