Jump to content

Do a "miniwebb" with four pages , array -functions


Perra73

Recommended Posts

Do a "miniwebb" with four pages , array -functions

 

I would like to do a Website Only index.php with menu thats generates 4 pages with only functions (include into index.php)

so on/Please help me...

 

It looks like below

 

| Site1 | Site2 | Site3 | Site4

 

 

This is the first page

 

 

 

| Site1 | Site2 | Site3 | Site4

 

This is the second page

 

some idea functions

 

htmlStart();

htmlTitel();

htmlBodyStart():

setBgColor();

htmlCreateMenu();

writeText(); // This is first page, .....

createEnd();

htmlEnd();

 

 

 

//index.php

 

<?php

require("functions.php");

 

// write to get value. from page menu

 

$page = $_GET['somthing']

 

echo createWebsite($page);

?>

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.