Hi if someone could help me with my preg_match I want the title from this code
<dt class="gallery-icon">
<a href="?attachment_id=31" title="title">
<img width="150" height="150" src="librosdefirmas-bodas-1-150x150.jpg" class="attachment-thumbnail" alt="Caption">
</a>
</dt>
i have this:
preg_match_all('/<dt class="gallery-icon">\s*<a href="(.*)" title="(.*)".*>/is', $page_columns[0], $titles);
But it doesn't work who can help me?