php-general Digest 6 Feb 2010 11:20:43 -0000 Issue 6576

2010-02-06 Thread php-general-digest-help
php-general Digest 6 Feb 2010 11:20:43 - Issue 6576 Topics (messages 301838 through 301842): Re: Appalling Dreamweaver performance 301838 by: haliphax Re: OpenID 301839 by: haliphax 301840 by: Nate Benes Re: PHP generated HTML has submit button which picks up the

php-general Digest 7 Feb 2010 01:41:54 -0000 Issue 6577

2010-02-06 Thread php-general-digest-help
php-general Digest 7 Feb 2010 01:41:54 - Issue 6577 Topics (messages 301843 through 301855): Help with regex (search/replace) please 301843 by: Ryan S 301844 by: Phpster 301845 by: Ashley Sheridan 301846 by: Ryan S 301847 by: Ryan S 301848 by:

Re: [PHP] PHP generated HTML has submit button which picks up the wrong url.

2010-02-06 Thread Michael A. Peters
Ashley Sheridan wrote: Bit of advice though, don't use Javascript to submit a form. Firstly, Javascript isn't available on all browsers, and on those it is available on, not everyone has it turned on. The W3C has the stats for Javascript being unavailable in a browser at about 5%. Yup. Just

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Phpster
Why not just pass the value in the onclick? Onclick=doSomething(this); Would give you simple access to all the properties of that element. This.value would pass just the value. Bastien Sent from my iPod On Feb 6, 2010, at 9:43 AM, Ryan S gen...@yahoo.com wrote: Hey guys, As many of you

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Ashley Sheridan
On Sat, 2010-02-06 at 06:43 -0800, Ryan S wrote: Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i

[PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey guys, As many of you might know, i totally suck at regex..so would really appreciate some help here. Basically i have a html page with a lot of textboxes,radios,checkboxes etc i need your help in the form of a regex so that when i give it the name and value it gives me the entire code of

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Ryan S
Hey Ash,Bastien! clip Rather than a regex, you're probably better off using something like DomDocument, where you can iterate over all of the input elements in the document, and check the attributes of each one to check if they match your criteria. /clip @Ash, You're kinda reading my mind...

Re: [PHP] Help with regex (search/replace) please

2010-02-06 Thread Ashley Sheridan
On Sat, 2010-02-06 at 07:53 -0800, Ryan S wrote: Hey Ash,Bastien! clip Rather than a regex, you're probably better off using something like DomDocument, where you can iterate over all of the input elements in the document, and check the attributes of each one to check if they match your

Re: [PHP] simplexml - can it do what I need?

2010-02-06 Thread Shawn McKenzie
TerryA wrote: My first post and I'm just a few days into learning PHP so that I can extract data from an XML feed for updating a MySQL driven website. Simplexml grabs most of my data without a problem but I can't get at the data in elements such as: element idtype=11 lang=fr