Php is an alternate language to html.. Most forums when you go to their page the extensions is index.php. Php is structured for multiple page sites and uses php subs (includes)to insert repetitive functions into every page...Index.php example...
Code:
<?
session_start();
@header("Cache-control: private");
include("class.ticket.php");
include("config.php");
include("$include_dir/header.php");
?>
<table width="100%" cellspacing="0" cellpadding="0" border="0">
<tr>
<td width="350" valign="top">
<? include("$include_dir/form.php"); ?>
</td>
<td valign="top">
<table cellspacing="0" cellpadding="0" border="0">
<tr>
<td>If you want to view the status of a ticket, provide us with your
login details below. If this is your first time contacting us, please
use the form on the left to open a new ticket.</td>
</tr>
<tr>
<td align="center"><br>
<table cellspacing="0" cellpadding="8" border="0" class="tableheader">
<tr>
<td bgcolor="#ffffff">
<table cellspacing="0" cellpadding="3" border="0">
<form action="view.php" method="post">
<tr>
<td>E-Mail:</td>
<td>
<input class="inputform" type="text" name="login_email" size="20" value="<?=$e?>">
</td>
</tr>
<tr>
<td>Ticket Number:</td>
<td>
<input class="inputform" type="text" name="login_ticket" size="10" value="<?=$t?>">
</td>
</tr>
<tr>
<td>
<input class="inputsubmit" type="submit" value="View Status">
</td>
<td> </td>
</tr>
</form>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<?
include("$include_dir/footer.php");
?>
The forum uses a local host myQsl database to keep or track all the info pertaining to the forum.. phpMyAdmin is a tool to build data bases or control how this data is stored..
example
of how critical it is to backup and use databases..
This is an example of php useage There are other sites or programs which use php or sql databases in many forms...Setting up sql databases can be complex to the beginner. I an not familar wuth what you are trying to do but with more info I might be able to assist.
EDIT: Im not sure but is it asking to add the extensions to the addy in the address bar? ie /mysql.php /mysqli.php
Then the browser calls up that php and displays it...