Re: [PHP] XML
valid and well-formed are different, can php verify neither? It can validate well-formed. Regards, Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] huidziekte
Vijf jaar voordat deze foto's werden genomen werd bij mij diagnose reumatische artritis gesteld en als zodanig ook behandeld. Niets hielp. Toen de ziekte zich zo manifesteerde zoals u hieronder kunt zien.. http://www.naardedokter.com/testimonials/sys_lup_eryth.htm This is an English mailinglist. Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] XML
If memory serves, I was told that "PHP at the present time can not validate an XML document". It does everything else, but you will have to validate everything on your own. In other words there is no current PHP function that can parse an .xml document and judge if it is Well Formed or not. There is a whole discussion on whether a webserver should validate documents, or this be handled beforehand (with the nsgml parser f.ex). Some argue that validating XML documents each time before producing basically the same output is kind of ineffecient, others argue that they want to be sure that whenever an XML page is changed that it is right. In my oppinion the first is the best, as small errors in an XML page which occured when it quickly had to be hacked should not result in a showstopper on the live website. If somebody fubars the tags according to the DTD, then let them do that, at least the site is up to date, and not full of validating errors. This is the scheme I use on SunSITE.dk: 1. Write a DTD for your XML standard. 2. Create a PHP parser which translates the XML pages into HTML. 3. Edit the xml documents, and use 'nsgml' (or similar sgml parser) on them to ensure that they are right according to the DTD. (Validate outside the webserver, process inside) Regards, Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] last inserted record
On Thursday 08 March 2001 06:42, you wrote: Assuming that you do have a primary key, how can you grab the last record you inserted? Can you use @@IDENTITY, or something like that? For that I'd add another field - type "timestamp". In MySQL, timestamp fields are automatically set to NOW() on each insert and update *if* they are not set to something else in it (the insert or update) I would prefer using mysql_insert_id() if possible. http://www.php.net/manual/en/function.mysql-insert-id.php Regards, Sren -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Java Question
I have not programmed in Java in awhile. I keep getting an error: when I invoke the JVM java Welcome. Which mailinglist did you think you posted this to? This is a PHP list. Take a look at http://www.php.net/ for more information on our favourite scripting language. Regards, Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] Howto return multidimensional arrays from a PHP module
On Mon, 5 Feb 2001, Thomas Wentzel wrote: Hi all, I've been using array_init and add_assoc_xxx to return an array from within my PHP module... But how would I go about returning the following stucture $a = array(1,2,3,4); $b = arrar("foo"=1,"bar"=2); return $a; would work, as well as return $b; -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] How to escape '$' in scripts?
\$ Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]
Re: [PHP] javascript and php
It is easy to generate javascript through php,but how to call php through javascript. In fact, I'd like to update some form fields according to events on other fields. I can do this using javascript, but the values should be readed in a MySql database. You're in a serverside, clientside problem. You want the client to execute the PHP code, which it cannot. If you want to update the form fields with some other data, you have to provide the page you sent to the client with all the needed data beforehand. Regards, Soeren Staun-Pedersen - [EMAIL PROTECTED] -- "The internet is full, beat it" - Me. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]