Hi everyone, just wondering if its possible to include

<?php require "../includes/h.php"; ?>

into the code below ??

echo "<td valign='top'><div class='p'>
<hr> add button menu here <hr></div></td>";
echo "</tr>";

I have tried a few different ways adding '..' for concactination to see if that works, but it still fails -

Just wondering if what I am trying is possible and if someone can point me in the right direction that woud be great

Since you are trying to include it into some PHP code, you don't need the <?PHP or ?> just the require statement itself. You only need to use <?PHP ... ?> when you are inserting some PHP code into (raw) HTML statements.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.