Welcome to Geeklog, Anonymous Saturday, July 13 2024 @ 06:37 pm EDT

Geeklog Forums

PHP sutom block func


Hey guys,
I have a small code like just echo command and then I have a PHPblock to call my custom function it works great however the output of the echo is not in the block but on the very top of my page.
Am I missing something ? I thought the echo should show in the block...


Status: offline


Forum User
Full Member
Registered: 08/29/05
Posts: 985
Your function should return it's HTML output as a string to the calling code.


Thanks I forgot the Return sometimes i'm so stupid...

plus the title should read : custom php function..

All times are EDT. The time is now 06:37 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content