Jump to content


- - - - -

parse php in template


  • Please log in to reply
2 replies to this topic

#1 xmobile

xmobile

    Advanced Member

  • Members
  • PipPipPipPip
  • 86 posts
  • Real Name:Miro Vodkca
  • IPB Version:v3.0.x

Posted 16 August 2010 - 02:12 PM

<php>
echo "test";
</php>

shows only errors :(

#2 Martin

Martin

    But but, it's not only only!

  • Management
  • PipPipPipPipPipPipPipPipPipPip
  • 7,081 posts
  • Location:Hammerfest, Norway
  • Real Name:Martin Aronsen
  • IPB Version:v3.2.x
Contributor

Posted 16 August 2010 - 08:43 PM

What error message do you get?

#3 DawPi

DawPi

    in search of lost time..

  • Modders
  • PipPipPipPipPipPipPipPipPip
  • 2,214 posts
  • Location:Cracow, Poland
  • Real Name:David
  • IPB Version:v3.2.x
Contributor

Posted 16 August 2010 - 09:49 PM

You can't echo's variables directly into skins..

You need use this code instead:

<php>
$v = "test";
</php>
{$v}

Dawid Pieron
intermedia - owner, developer and ip.board modder
Need custom mod, conversion service, any ip.board related job or support for any of my paid mods or services?
www | mail | facebook | twitter | buy licence




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users