goldenairways Posted August 19, 2009 Report Share Posted August 19, 2009 I am currently skinning my phpVMS. On the sidebar instead of having the latest pilot and flights just on the home page, I want them on every page so I have put them in the sidebar however when I put this code in: <h2>Our Latest Recruit</h2> <p> <?php MainController::Run('Pilots', 'RecentFrontPage', 1); </p> and on the page it says Parse error: syntax error, unexpected '<' in /home/goldair/public_html/lib/skins/simple_blog/header.tpl on line 36 The "</p>" is on line 36. I might be just not thinking right, because its 01:08 in the morning here lol however I am pretty sure it should work. If you could help then it'd be great. Its pretty much just a coding issue I think though. I might suddenly figure it out or it springs to mind but I am not sure yet Thanks in advance. Quote Link to comment Share on other sites More sharing options...
Administrators simpilot Posted August 19, 2009 Administrators Report Share Posted August 19, 2009 <h2>Our Latest Recruit</h2><p> <?php MainController::Run('Pilots', 'RecentFrontPage', 1); </p> You are missing the closing php tag, it should be: <h2>Our Latest Recruit</h2> <p> <?php MainController::Run('Pilots', 'RecentFrontPage', 1);?> </p> Quote Link to comment Share on other sites More sharing options...
goldenairways Posted August 19, 2009 Author Report Share Posted August 19, 2009 Oh yea, thanks for you help. Got it now, I just wasn't thinking last night. lol Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.