Welcome to Geeklog, Anonymous Tuesday, April 23 2024 @ 02:47 am EDT
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
2
2
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.
2
2
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..
3
1
Quote
All times are EDT. The time is now 02:47 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