PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I had version 4.1.x. there the script worked fine.. now i have the newest php version and it don't really go...
its a code for an homepage, to include the mainsites in the table....
the links to include the files in one of the tablefields (there the case-code is standing..) you had to enter a link like: main.php?title=test
here's the code.. if you've a better working one (ore one how*ll work on 2.1 post it please.. thx
Ok. It looks like it is a GET var. Have you tried to echo to contents of $title on to the page? This could show you title have the contents you assume.
I belive that you should fetch the variabel first:
$title = $_GET["title"];
This is the big diffrence between php 4.2 and older version. All this is mentioned in the sticky note. Please read them.
haagen wrote:Ok. It looks like it is a GET var. Have you tried to echo to contents of $title on to the page? This could show you title have the contents you assume.
I belive that you should fetch the variabel first:
$title = $_GET["title"];
This is the big diffrence between php 4.2 and older version. All this is mentioned in the sticky note. Please read them.
ok. it worked. thank you very much.. i don't kwow that the new version need it..