Welcome to Geeklog Monday, October 23 2017 @ 02:53 pm EDT


savco

Anonymous
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...

thanx

Status: offline

jmucchiello

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

savco

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

plus the title should read : custom php function..
LOL

All times are EDT. The time is now 02:53 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