Make conent dynamic
Posted: July 3rd, 2013, 11:14 am
Just bought Mightysites. Was thinking this is a very good component. And it's working like I want to have it.
Now I wish to use on 5 sites the same conent just with some different keywords.
For example I have the site
$domain="apple.com"; // i wish i had this domain
$keyword="apple";
$sort="fruit";
$domain="cucumber.com";
$keyword="cucumber";
$sort="vegetable";
The content;
On <?=domain; ?> you can find everything about <?=$keyword; ?> that's a very healthy <?=? $sort; ?>
This way I make one site... and copy them 5x with the same content and they're different. I wish to use php for this.
But what's the best setup to do this ?
Do i make a some extra tables in mysql manualy ? And use php to get this vars? Or is there a cleaner and better way to do this?
thanks,
deef
Now I wish to use on 5 sites the same conent just with some different keywords.
For example I have the site
$domain="apple.com"; // i wish i had this domain
$keyword="apple";
$sort="fruit";
$domain="cucumber.com";
$keyword="cucumber";
$sort="vegetable";
The content;
On <?=domain; ?> you can find everything about <?=$keyword; ?> that's a very healthy <?=? $sort; ?>
This way I make one site... and copy them 5x with the same content and they're different. I wish to use php for this.
But what's the best setup to do this ?
Do i make a some extra tables in mysql manualy ? And use php to get this vars? Or is there a cleaner and better way to do this?
thanks,
deef