473,403 Members | 2,359 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,403 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">
<ul>
<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>
</ul>
</div>

<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>


<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>

<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>

<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>

<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>
</div>

<script type="text/javascript">

cssdropdown.startmenu("navmenu")

</script>

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 1328

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

Similar topics

0
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
0
BarryA
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
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...
0
tracyyun
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.