Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6322277
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T16:18:03+00:00 2026-05-24T16:18:03+00:00

I was wondering whether there is class or something similar which I can include

  • 0

I was wondering whether there is class or something similar which I can include into my PHP pages to beautify the HTML output.

Such as putting new lines in after tags and correctly indenting so that my source code isn’t only one line, I know that to the browser it doesn’t matter but I wish to do this.

I have heard of http://www.php.net/manual/en/book.tidy.php but am not clear on what it does and how to implement it, i.e. I don’t understand what the manual says about it.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T16:18:04+00:00Added an answer on May 24, 2026 at 4:18 pm

    The Tidy extension is the way to go.

    If you don’t understand the documentation (OK, admittedly it’s not very thorough), then the first results on Google for php tidy tutorials look very promising:

    • http://devzone.zend.com/article/761
    • http://www.devshed.com/c/a/PHP/Working-with-the-Tidy-Library-in-PHP-5/
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering whether there is a simple PHP library to test the loading
I'm wondering whether there is a way to find out whether a class is
I'm wondering whether there's a way to extend the BaseDaoImpl class of ORMLite on
I've been wondering whether there is a good "git export" solution that creates a
I was just wondering whether there is some way to do this: I have
I'm wondering whether there is a way to poll a socket in c# when
A recent problem* left me wondering whether there is a text editor out there
I'm fairly new to the STL, so I was wondering whether there are any
I liked the discussion at Differences in Generics , and was wondering whether there
Just wondering whether anyone knows how to get blogger labels into alt tags in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.