SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How do you add other class's please?

    Been on this for a while, anyone know how I get it to find, not only for table-one, but also for other tables with the class names of timetable and table-six please??

    PHP Code:
        try
        {
            
    $html file_get_html($input);
            
    $tables $html->find('table[class=table-one]');
            foreach( 
    $tables as $table)


    Any help appreciated.

    Dez

  2. #2
    SitePoint Wizard
    Join Date
    Jun 2005
    Posts
    1,428
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    In fact, the question isn't how to add other class's, rather, how do you add more class names to that code?


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •