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,234
  • Total Topics: 21,353
  • Online today: 739
  • Online ever: 8,223 (February 19, 2025, 04:35:35 AM)
Users Online
  • Users: 0
  • Guests: 278
  • Total: 278

Parse Error in phpbox

Started by clothahump, May 07, 2007, 11:50:14 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

clothahump

I am trying to implement a Block for random image from Menalto Gallery, following php throws a parse error with or without tags?
<?php @readfile('http://www.foxcombevale.co.uk/Gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title'); ?>

Zetan

Remove the tags
<?php
?>

So you are left with:
@readfile('http://www.foxcombevale.co.uk/Gallery/main.php?g2_view=imageblock.External&g2_blocks=randomImage&g2_show=title');


clothahump

That did it, many thanks Zetan. :)

Zetan

You're welcome... I tested it on my site just to make sure it worked  :)

This website is proudly hosted on Crocweb Cloud Website Hosting.