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

  • SEARCH
  • Home
  • 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 587399
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T15:12:29+00:00 2026-05-13T15:12:29+00:00

I wanted to know if there is something like a content place holder in

  • 0

I wanted to know if there is something like a content place holder in php..like the one we use in asp..I have my index.php and I want only a part if the page to be updated, I am using css.I was thinking about making a copy of the index.php then rename it to, for example, register.php. then change the css tags where needed. Is it how it’s done?
There are parts in the index.php that will remain fixed. For eg: list categories, sub categories. Now i want to implement a registration section. The list of categories should still be there and part of the index.php will change..

  • 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-13T15:12:30+00:00Added an answer on May 13, 2026 at 3:12 pm

    ASP.NET is object-oriented out of the box, whereas PHP is not. As such, there’s no native “placeholder” to PHP. If you want this type of functionality, you ought to use a MVC framework like Kohana. That, or you could create your own simple template.

    For instance, here is simple page:

    <?php 
      include("header.php");
      include("navigation.php"); 
    ?>    
    
    <h1>About Us</h1>
    <p>This is our About Us page.</p>
    
    <?php 
      include("footer.php"); 
    ?>
    

    In this example, you’d have parts of your page that are relatively constant (header, navigation, footer, etc) all stored as pieces that are included within your primary files, such as index.php, aboutus.php, and gallery.php. In the above example, we see what a simple “about us” page could look like.

    This model is relatively popular amongst young programmers, but if you’re somewhat familiar with object-oriented frameworks, I’d encourage you to look at Kohana instead and work toward getting familiar with the Model-View-Controller method of development.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Wanted to know if there was a way one could query shelveset details from
I wanted to know if there's a way I can bind an Asp.net Ajax
I wanted to know if there's a way to manipulate line breaks within PHP.
I have an ASP.NET(2.0, C#) web application, and I wanted to know how to
This might sound like a vague question, but i wanted to know if there
I wanted to know if there is a way to access to asp objects
I wanted to know if there is way to log the mysql queries in
Just wanted to know if there is a big chance to inject SQL While
I wanted to know if there is any way to synchronize (or exchanging files)
I just wanted to know if there is a way on how to remove

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.