PDA

View Full Version : Php?


starripper
01-24-2006, 05:48 PM
Not reallly sure where to post this but I was wondering if anyone here new of a good php help forum I have all my css figured out now I just have one php probelm and my site is done.

Thanks,
Starripper

_Aerospace_Eng_
01-24-2006, 05:49 PM
Umm why not the php forum here? That is why we have a php section as well. Post your problem here and this will be moved for you.

starripper
01-24-2006, 05:57 PM
Well damn completly looked over the top level sorry. I have my menu working but it reloads with out the main php section I was wondering if anyone knew how to change the include to be a diffrent site when it is clicked.
menu.php
/* Taken from http://bonrouge.com/br.php?page=current */
<?php
$link=array('home','randg','forms','dates','http://www.uab.edu/cord');
$text=array('Home','Rules and Guidelines','Forms','Deadlines and Training','CORD Home Page');
echo '<ul id="navigation">';
$i=0;
while($i < count($link)) {
echo '<li'. (($page==$link[$i]) ? ' id="navigation"' : '') . '><a href="'.$link[$i].'.php"><span>'.$text[$i].'</span></a></li>
';
$i++;
}
echo '</ul>';
?>

main page part working on:
<body>
<table id="container">
<tr>
<td height="142" bgcolor="#158716"><div align="center"><img src="images/sf_logo.jpg" width="432" height="144"></div></td>
</tr>
<td height="24"><?php include("menu.php");?> <br> <div class="border"></div>
<? include("home.php");?>


Thanks,
Starripper

starripper
01-25-2006, 04:39 PM
Also would anyone know a good place to get a hit counter that runs really well and does not have to be visible. PHP one would be nice I can store on mysql server.

Thanks,
Starripper