TP-Docs
HTML5 Icon HTML5 Icon HTML5 Icon
TP on Social Media

Recent

Welcome to TinyPortal. Please login or sign up.

Members
  • Total Members: 3,973
  • Latest: NonStop
Stats
  • Total Posts: 196,230
  • Total Topics: 21,353
  • Online today: 446
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 501
  • Total: 501

cant insert php..

Started by lAJl, February 16, 2008, 09:29:17 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

lAJl

ok when i insert php into the phpbox it shows up as this on the block on the front page..

Parse error: syntax error, unexpected '<' in /home/vkcommun/public_html/SMF/Sources/Load.php(1735) : eval()'d code(35) : eval()'d code on line 1

JPDeni

Don't start your php with

<?php

or end it with

?>

lAJl

its not this is what i put in there

<script language="javascript" type="text/javascript">
   var vspy_width=200;
   var vspy_height=500;
   var vspy_style="custom_html";
   var vspy_server="voice.gameservers.com:4276";
   var vspy_background="333333";
   var vspy_fontcolor="000000";
   var vspy_linkcolor="0000FF";
</script>
<script language="javascript" type="text/javascript" src="http://ventrilo-monitor.com/js/show_ventrilo.js"></script>

JPDeni

Ah. The code you have is not php. It's javascript. It goes in a scriptbox.

lAJl

wow lol IM a newb... thx JPDeni O0

JPDeni


This website is proudly hosted on Crocweb Cloud Website Hosting.