Php Includes - Help please?

Okay, so I feel rather stupid but I’ve read tutorials on using php includes and I can get my main index page to work using php includes but I can’t do it with any other pages because they are in different files. Could someone please tell me what path I need to put in so that it will work with files in other folders?

I tried this but it didn’t work:
? include("/home/sardonic/"); ?
For my index.php page I just put
? include(“topmain.php”) ?
and it works fine. Could someone please help? I’m really confused even though I know it’s very simple. Thanks.

Try using

:cool: Perl / MySQL / HTML+CSS

OH MY GOODNESS. Nevermind, it wasn’t the php that was wrong! Nevermind, I was just having a major blonde moment. Thanks for your help :slight_smile: