There's a hippo on my nose!
Posted: Sat Jan 24, 2004 1:40 pm
Okay so I'm new. Everyone has to start somewhere. I'm having what I'm sure is a simple problem but I've spent hours looking and can't find the problem. A search of the forum also turned up nada. Any help would be greatly appreciated.
Here's the problem:
I've created page1.php and page2.php. page1.php links to page2.php via form button and passes a single variable. Everything works just fine on my local Apache Server. Since I'm just beginning to learn PHP, I like to do things in small chunks before incorporating something new. Where I have the problem is when I try to link to page1.php from my index.html. The link works fine. I then click the form button on page1.php which links to page2.php just fine and passes the variable as expected, BUT none of the php code is executed in page2.php!! Even a simple echo statement! I would think that it is a syntax error, but it worked just fine before adding the link to the index.html
The only thing that seems odd about the whole thing is that the index.html is a frameset and the link out to page1.php is in one of the framed pages. Frames is where I suspect the problem to be.
Any suggestions????
Thanks guys!
Here's the problem:
I've created page1.php and page2.php. page1.php links to page2.php via form button and passes a single variable. Everything works just fine on my local Apache Server. Since I'm just beginning to learn PHP, I like to do things in small chunks before incorporating something new. Where I have the problem is when I try to link to page1.php from my index.html. The link works fine. I then click the form button on page1.php which links to page2.php just fine and passes the variable as expected, BUT none of the php code is executed in page2.php!! Even a simple echo statement! I would think that it is a syntax error, but it worked just fine before adding the link to the index.html
The only thing that seems odd about the whole thing is that the index.html is a frameset and the link out to page1.php is in one of the framed pages. Frames is where I suspect the problem to be.
Any suggestions????
Thanks guys!