www.webdeveloper.com

Search:

Type: Posts; User: ohnos

Search: Search took 0.01 seconds.

  1. Regular Expression: match unordered list nested in paragraph

    I have an xml file that sometimes has a <ul> nested in a <p>, any ideas on how to match/fix that?
  2. Replies
    1
    Views
    1,923

    @guinnee, I think you need a 301 redirect for...

    @guinnee, I think you need a 301 redirect for what you're trying to accomplish, not mod_rewrite.

    ...though, I could be wrong, I have an .htaccess issue myself.

    Also, sorry if you feel I'm...
  3. screwy path after modifying httpd.conf for mod rewrite and multiviews

    My paths are incorrect after modifying httpd.conf to allow for mod rewrite and multiviews on my local network server. I haven't modified any paths, yet it's treating my rewrite base as the...
  4. so no other way but two queries? 1. query all...

    so no other way but two queries?
    1. query all subjects
    2. explode
    3. 2nd query GROUP BY LIKE?

    That's the only way I can think to do it, as painfully inefficient as it may be.
  5. [RESOLVED] MySQL: GROUP BY substring in column?

    Is there a way to do this?
    Each "topic" may have multiple "subjects", I'd like to group by the subjects
    The db table is like:


    TOPIC SUBJECT
    Abdominal Pain Digestive System...
  6. Replies
    5
    Views
    917

    That's exactly what I was trying to do NogDog. I...

    That's exactly what I was trying to do NogDog. I read through the array functions last night trying to figure out how to do this without looping. I'm looping to parse the rest of the page, I just...
  7. Replies
    5
    Views
    917

    [RESOLVED] implode array to avoid a loop

    $groups = $x->xpath("list/document/content[@name='group']");
    $groups = array_unique($groups);

    if (!empty($groups)){
    echo '<ul class="groups">'.PHP_EOL;
    echo '<li>'.implode('</li><li>', '<a...
  8. I don't think this is possible with PHP since...

    I don't think this is possible with PHP since it's submitting to an iframe, so I'm guessing javascript is going to be the only way to do this.
  9. Submit form to iframe, detect it loaded & close parent

    I'm submitting a form (cross-domain) to an iframe and want the parent to close after submission. How can I detect if the iframe is loaded? Sorry, I'm not very good at this.
Results 1 to 9 of 9
HTML5 Development Center



Recent Articles