goldenairways Posted August 19, 2009 Report 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
Administrators simpilot Posted August 19, 2009 Administrators Report 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
goldenairways Posted August 19, 2009 Author Report Posted August 19, 2009 Oh yea, thanks for you help. Got it now, I just wasn't thinking last night. lol Quote
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.