Website Toolbox Pro

What Does “Javascript”, “Dreamweaver”, “CSS” Mean And How Does It All Fit Together?

Javascript, Miscellaneous, PHP / MySQL Comments »
I’m new to this whole thing, I need to know for journalism class please!

How does HTML, CSS, Python, Dreamweaver, InDesign, PHP…. what do these things have to do with websites?

Continue reading What Does “Javascript”, “Dreamweaver”, “CSS” Mean And How Does It All Fit Together? »

What’s The Regex For The Following? (PHP)?

PHP / MySQL, Regular Expressions Comments »
I want to do a preg_split to get all the subnodes of the following in an array. I want to match everything between the <Subscriber> tags, but note that the first has XMLNS.

<Subscriber xmlns:xsd="http://www.w3.org/2001/XMLSchema">
    <EmailAddress>inetmjr@gmail.com</EmailAddress>
    <Name>MJR</Name>
    <Date>2008-04-11 15:00:00</Date>
    <State>Active</State>
    <CustomFields />
  </Subscriber>
  <Subscriber>
    <EmailAddress>mreeves@gmail.com</EmailAddress>
    <Name>Mark Reeves</Name>
    <Date>2008-04-11 14:37:00</Date>
    <State>Active</State>
    <CustomFields />
  </Subscriber>

What’s the regex to use with preg_split to get <Email> through <CustomFields/> into array nodes?

Thanks!
Mark

Continue reading What’s The Regex For The Following? (PHP)? »