make website pages more dynamic.


I want to make my website pages more dynamic.
Can I do this using:

$file=”articledetails.php”;
include(‘$file’);

You can also use like this: include(“$file”);

variables won’t be parsed between single quotes.

Code:

include($file);

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.