473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Quick PHP question

I have a quick question in reference to php file extenstions...

I have code for example like this... This is all located on this site www.ixalliance.com/BHS/Default

(This is my nav.php file)

<div class="navstyle" id="navmenu">
<li><a href="index.php">Home</a></li>
<li><a href="administration/admin.php" rel="dropmenu1">Administration</a></li>
<li><a href="guidance/guidance.php" rel="dropmenu2">Guidance</a></li>
<li><a href="staff/staff.php" rel="dropmenu3">Staff</a></li>
<li><a href="athletics/athletics.php" rel="dropmenu4">Athletics</a></li>
<li><a href="activities/act-event.php" rel="dropmenu5">Activities/Events</a></li>
<li><a href="pto/pto.php" rel="dropmenu6">PTO</a></li>
<li><a href="forms/forms.php" rel="dropmenu7">Useful Forms</a></li>

<div id="dropmenu1" class="dropmenudiv">
<a href="administration/principal.php">Principal</a>
<a href="administration/prin-sec.php">Prinicpal's Secretary</a>
<a href="administration/vice.php">Vice Principal</a>
<a href="administration/vice-sec.php">Vice Principal's Secretary</a>
<a href="administration/ath-dir.php">Athletic Director</a>
<a href="administration/ath-sec.php">Athletic Director's Secretary</a>

<div id="dropmenu2" class="dropmenudiv" style="width: 200px;">
<a href="guidance/mrsbranch.php">Mrs. Branch</a>
<a href="guidance/mrsdefilippo.php">Mrs. Defilipo</a>
<a href="guidance/mrspicazio.php">Mrs. Picazio</a>
<a href="guidance/mrskacur.php">Mrs. Kacur</a>

<div id="dropmenu3" class="dropmenudiv" style="width: 200px;">
<a href="staff/english/eng-dep.php">English Department</a>
<a href="staff/science/sci-dep.php">Sciences Department</a>
<a href="staff/math.math-dep.php">Math Department</a>
<a href="social/social/social-dep.php">Social Studies Department</a>
<a href="business/business-dep.php">Business Department</a>
<a href="tech_arts/tech_arts-dep.php">Technology and The Arts Department</a>
<a href="world/worldlang-dep.php">World Language Department</a>
<a href="pe_health-dep/pe_health-dep.php">Physical Education Department</a>
<a href="special_ed/special_ed-dep.php">Special Education</a>
<a href="instructional/instruct_aides.php">Instructional Aides</a>

<div id="dropmenu4" class="dropmenudiv" style="width: 200px;">
<a href="athletics/baseball.php">Baseball</a>
<a href="athletics/basketball_boys.php">Basketball Boys</a>
<a href="athletics/basketball_girls.php">Basketball Girls</a>
<a href="athletics/cheerleading.php">Cheerleading</a>
<a href="athletics/cross_crountry.php">Cross Country</a>
<a href="athletics/field_hockey.php">Field Hockey</a>
<a href="athletics/football.php">Football</a>
<a href="athletics/lacrosse.php">Lacrosse</a>
<a href="athletics/soccer.php">Soccer</a>
<a href="athletics/softball.php">Softball</a>
<a href="athletics/tennis_boys.php">Tennis Boys</a>
<a href="athletics/tennis_girls.php">Tennis Girls</a>
<a href="athletics/track_field.php">Track & Field</a>
<a href="athletics/wrestling.php">Wrestling</a>

<div id="dropmenu5" class="dropmenudiv" style="width: 200px;">
<a href="activities/band_choir.php">Band & Choir</a>
<a href="activities/bbc.php">BBC</a>
<a href="activities/drama.php">Drama Club</a>
<a href="activities/expressions.php">Expressions</a>
<a href="activities/french_club.php">French Club</a>
<a href="activities/gsa.php">GSA</a>
<a href="activities/key_club.php">Key Club</a>
<a href="activities/mutli-cult.php">Multi-cultural Club</a>
<a href="activities/plc.php">PLC</a>
<a href="activities/rebel.php">REBEL</a>
<a href="activities/ski_club.php">Ski Club</a>
<a href="activities/stock_club.php">Stock Market Club</a>
<a href="activities/student_council.php">Student Council</a>
<a href="activities/tech_comm.php">Tech Committee</a>
<a href="activities/wampus.php">WAMPUS</a>
<a href="activities/year_book.php">Year Book</a>

<script type="text/javascript">



Now, when you are on the index page you can go right to the administration page, but from the administration page you cannot go back to the index page...

I call the file in the admin.php page <?php include('../nav.php'); ?>

I would really appreciate the help, thank you.
Mar 28 '08 #1
0 1327

Sign in to post your reply or Sign up for a free account.

Similar topics

by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.