php n00b ?
- Started
- Last post
- 5 Responses
- versa
i am building a site using a template.php file that has a div that I want to populate with each new section that I click on from the main menu - it will first by default be populated with home, so in my first index.php page i have a simple redirect with the query as such:
Header ("Location: http://foo.net/staging/template.…
and
my div as:
{div id="dynBox"}
{?php @ require_once ("$page.html"); ?}this part is working fine, by my links/hrefs from my menu for some reason don't work yet
i am using this syntax as an example:
{a class="menu" href="template.php?page=about" onmouseover="return setStatus('')" onmouseout="return setStatus('')" onclick="menuHideSubs()" title="About"}About.
what am i doing wrong here ?
thanks !
- versa0
i really need some help here
thx
- lind0
That there's a space between "p" and "a" in template.php?p age=about ?
- Mimio0
Whay aren't you using?
- Mimio0
My code isn't pasting in:
""
- versa0
?