This is a discussion on "php noob problem - require_once" within the PHP Forum section. This forum, and the thread "php noob problem - require_once are both part of the Program Your Website category.
|
|
|
|
|
![]() |
||
php noob problem - require_once
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
#1
|
|||
|
|||
|
php noob problem - require_once
Hi, im doing a simple site and im pretty much total noob in PHP, just learning it so sorry
<div class="next"> <?php @ require_once ("next.html"); ?> </div> <div class="navi"> <?php @ require_once ("navi.php"); ?> </div> <div class="cont"> <?php @ require_once ('./$page.html'); ?> </div> So thats the code and what i want to do is that the menu (where all the links are) are in navi.php file. And when you click one of those links the page opens in "cont" box. But for some reason that doesnt work. Where's the problem. Im not sure but should i have somewhere something like $_GET thanks, donnie |
|
|
|
#2
|
||||
|
||||
|
Re: php noob problem - require_once
|
|
#3
|
||||
|
||||
|
Re: php noob problem - require_once
It doesn't seem like you've learned enough php to accomplish this. Try studying a tutorial on generating $_GET variables. I don't know what @require_once ('./$page.html') is supposed to accomplish.
|
![]() |
| Tags |
| php, noob, problem, require_once |
| Thread Tools | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Noob looking for help | Gardenworks | Starting Out | 2 | Apr 6th, 2008 15:57 |
| noob needs help | louie2k2 | Flash & Multimedia Forum | 1 | Aug 5th, 2007 17:56 |
| Noob needs help. | Geekmation | Flash & Multimedia Forum | 3 | Jan 14th, 2007 23:51 |
| Passing Variables to a require_once() Page | darryladie | PHP Forum | 3 | Jun 20th, 2006 18:36 |