The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> code for a drop down menu?
tudsy
post Aug 13 2016, 04:34 AM
Post #1


Advanced Member
****

Group: Members
Posts: 166
Joined: 30-September 14
Member No.: 21,611



Hi

I am trying to code a dropdown menu with php. I have attached my results so far. What am I doing wrong?

Any help will be appreciated.

Thanks.Attached File  code.txt ( 2.03k ) Number of downloads: 473
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
CharlesEF
post Aug 13 2016, 06:08 AM
Post #2


Programming Fanatic
********

Group: Members
Posts: 1,587
Joined: 27-April 13
From: Edinburg, Texas
Member No.: 19,088



Well, I see 1 error right off the bat. This:
CODE
$_SERVER['DOCUMENTROOT']
Should be:
CODE
$_SERVER['DOCUMENT_ROOT']

Do you get a blank screen? Did you check the php error log?

This post has been edited by CharlesEF: Aug 13 2016, 06:09 AM
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 24th March 2019 - 10:45 PM