Search found 6 matches
- Wed Nov 05, 2003 9:08 am
- Forum: PHP - Code
- Topic: wrap ya head around this one
- Replies: 2
- Views: 580
wrap ya head around this one
here is the code: <?php //Display all entries function display_all(){ $result = mysql_query("SELECT * FROM guide"); while($r=mysql_fetch_array($result)) { $id=$r["id"]; $venue=$r["venue"]; $band=$r["band"]; $day=$r["day"]; echo "::<b>$venue</b><...
- Mon Oct 20, 2003 8:01 am
- Forum: PHP - Code
- Topic: internal php navigation
- Replies: 7
- Views: 2470
aarrgghhh
its driving me nuts!!!!!! the above code is just an example basically i want all links when clicked on too load in the middle of the page between the header, menu and footer. i have already set the main side menu to do this. but when any links that are click on in the content area they load the defu...
- Mon Oct 20, 2003 6:39 am
- Forum: PHP - Code
- Topic: internal php navigation
- Replies: 7
- Views: 2470
oh...
heres is the web page link :
http://www.modnet.com.au/~aaron/gmc/index.php
click on gig-guide then click on "find".....SEEE! it loads the defualt page when i want the links to load in that place!!![/url]
http://www.modnet.com.au/~aaron/gmc/index.php
click on gig-guide then click on "find".....SEEE! it loads the defualt page when i want the links to load in that place!!![/url]
- Mon Oct 20, 2003 6:12 am
- Forum: PHP - Code
- Topic: internal php navigation
- Replies: 7
- Views: 2470
riiiight..well...um
well the page is loading and i click on the guide link and the guide page is loaded into the middle of my designed page, the guide page has links on it but when i click on one of them the index page just reloads the default content. i have applied the code properly am i missing something? this is th...
- Mon Oct 20, 2003 4:48 am
- Forum: PHP - Code
- Topic: internal php navigation
- Replies: 7
- Views: 2470
newbie
i messed about a bit but got a parse error...im a new cumer to this php thing but have some understanding of it. anyways all i got was a parse error on line 8 which is ==> <?php <? if(!isset($_SESSION["page"])) { //set's up the page var in the _session if //it hasn't been done already. $_S...
- Mon Oct 20, 2003 4:06 am
- Forum: PHP - Code
- Topic: internal php navigation
- Replies: 7
- Views: 2470
internal php navigation
i have my index page set up with the menu like this: <? switch ($page) { case "guide": include('guide/guide.inc'); break; case "bands": include('db/index.php'); break; case "ticks": include('ticks/ticks.php'); break; case "chat": include('bands/bands.php'); br...