Welcome to Geeklog, Anonymous Thursday, December 12 2024 @ 09:24 am EST
Geeklog Forums
PHP sutom block func
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
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
6
7
Quote
Status: offline
jmucchiello
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.
9
6
Quote
savco
Anonymous
Thanks I forgot the Return sometimes i'm so stupid...
plus the title should read : custom php function..
plus the title should read : custom php function..
9
6
Quote
All times are EST. The time is now 09:24 am.
- 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