php.org PHP Logo
Beginner Intermediate Advanced

Search results for: "Target URLs"

How can you specify a target frame when redirecting with the header() function in PHP?

When redirecting with the header() function in PHP, you can specify a target frame by using the "Location" header with the URL of the page you want to...

What is the best way to extract link and image URLs from HTML code using PHP?

To extract link and image URLs from HTML code using PHP, you can use the DOMDocument class to parse the HTML and then extract the URLs using XPath que...

How can you target elements based on their names or titles in CSS?

To target elements based on their names or titles in CSS, you can use attribute selectors. You can select elements based on their name attribute by us...

Are there alternative methods, besides header redirects, to automatically open URLs in new windows in PHP loops?

One alternative method to automatically open URLs in new windows in PHP loops is by using JavaScript. By adding a target="_blank" attribute to the anc...

How can the target attribute be added to a href link in PHP?

To add the target attribute to a href link in PHP, you can simply include it as an additional parameter in the anchor tag. The target attribute specif...

Showing 6 to 10 of 5840 results

‹ 1 2 3 4 5 6 7 8 9 10 ... 1167 1168 ›
PHP.ORG

A free knowledge base for PHP developers. Open to all.

Legal

  • About
  • Contact / Imprint
  • Terms
  • FAQ

© 2025 php.org. All rights reserved.