html >> add drop downs to a php file

by verynew2it » Sun, 22 Jan 2006 03:00:37 GMT

Hello everyone, this is my first time on here as i have just started using
studio mx. I have had the software for quite a while but never got round to
using it. Anyway, i have created a logo for my website and added some "drop
down" navigation menu's to the image. I dont know how to add this to a php
file. I have a site that runs with myphpnuke.com software and i know it can be
done but does anyone know how to alter my header.php file to include my
fireworks drop down logo?

here is a copy of my header.php which i need to somehow make my fireworks
image and the mm_menu.js file work with



<?php


include("extention.inc");
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";

}
global $actif, $mpnTables, $user, $banners, $sitename, $slogan, $cookie;
cookiedecode($user);
$username = $cookie[1];
if ($username == "") {
$username = "Anonymous";
}
print "<LINK REL=\"StyleSheet\"
HREF=\"themes/LeadbitterGlass/style/style.css\" TYPE=\"text/css\">\n";
echo "</HEAD>\n";
echo "<body bgcolor=\"#EAECE8\" text=\"#000000\" link=\"0000ff\">"
."<br>";
if ($mpn_display_fetching_request==1) OpenWaitBox();
if ($banners) {
include("banners.php");
echo "<br>";
}

echo "<table border=\"0\" cellpadding=\"0\" cellspacing=\"2\"
bgcolor=\"EAECE8\" width=\"80\" align=\"center\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"800\">\n"
."<tr><td width=\"100%\">\n"
."<table border=\"0\" cellpadding=\"0\" cellspacing=\"0\" width=\"800\">\n"
."<tr><td width=\"100%\" height=\"60\" bgcolor=\"#FFFFFF\">\n"
."<table border=0 width=100% cellpadding=0 cellspacing=0><tr><td
align=\"left\"><a href=\"index.php\"><img border=\"0\"
src=\"themes/LeadbitterGlass/images/logo.gif\" alt=\"Home Page\"
hspace=\"0\"></a></td><td align=\"right\"></td></tr></table></td></tr>\n"
."</td></tr></table>\n"
."</td></tr><tr><td width=\"100%\"><table width='100%' cellspacing='0'
cellpadding='0' border='0'><tr><td bgcolor='#ffffff'>\n";

echo "</td></tr></table><table width=\"800\" cellpadding=\"0\"
bgcolor=\"ffffff\" cellspacing=\"0\" border=\"0\">\n"
."<tr valign=\"top\">\n"
."<td><img src=\"themes/LeadbitterGlass/images/pixel.gif\" width=\"6\"
height=\"1\" border=\"0\" alt=\"\"></td>\n"
."<td width=\"138\" bgcolor=\"ffffff\" valign=\"top\">\n";
blocks(left);
echo "</td><td><img src=\"themes/LeadbitterGlass/images/pixel.gif\"
width=\"10\" height=\"1\" border=\"0\" alt=\"\"></td><td width=\"100%\">\n";
if ($index == 1){
include("mymsg2_functions.$phpEx");
display_mymsg2();
}

if ($index == 1) {
if ($mpn_display_whatsnews == 1) {
recentnews();
}
if ($mpn_display_recenttopics == 1){
recenttopics();
}
if ($actif== 1){
cblock();
}
}
?>



Similar Threads

1. add drop downs to a php file

2. PLEASE HELP - How to add URL to options in drop down list

Could some PHP guru please help me? I am have a drop down list, whose
options are read in dynamically from a table in a MySQL database. one
of the items being read in is an URL. I am
unable to display this URL in the drop down list. The following is the
code snippet I am using:

   $sql_query = mysql_query("SELECT DISTINCT year, semester, school,
schoolurl FROM
                                            schoolproject_pics ORDER BY
year");
      echo "<select name=\"semester\">";
      while(list($year, $semester, $school, $schoolurl) =
mysql_fetch_array($sql_query)){
        echo "<option value=\"$year\">$year $semester <a
href=\"$schoolurl\">$school</a></option>";
      }

When the drop down list is displayed, I do not see the URL. Could
someone please point out what exactly I am doing wrong? Thanks in
advance for your help, any help would be greatly appreciated.

3. dynamically populate drop-down list and dynamically include html file

4. Can't get drop down menu to drop down

I am still learning this process and I could use some help. I know alot of 
people prefer not to use the spry menu bar in dreamweaver cs3, but I have 
already built them using it and I need some help. What is happening is you can 
see the down arrow in the menu and the drop down is in my dreamweaver, so I 
know I created them, but when you click on the arrow nothing drops down. The 
main part is set to menubaritemsubmenu and then the drop down section is set to 
menubarhorizontal and all are set to visible. There has to be something I am 
missing in there and I could use some help.

 Thanks,
 Danny

5. Drop downs within a drop down - Adobe Dreamweaver

6. Using one drop down list to dynamically populate another drop down list

7. Using one drop down list to dynamically populate another drop down list - Adobe Dreamweaver

8. Change option in second drop down box based on selection of first drop down box

Change option in second drop down box based on selection of first drop down box.

 Hi,

 I am trying to figure out how to make a selection in 1 dropbox that will 
automatically fill in a second.
 And then click  submit button to put it in the database.

 i have been told i can use javascript and hidden value...anyone know how to do 
that? How do i put that value in the hidden value when it is different with 
every selection?

 thanks.

 steve