Welcome to Geeklog, Anonymous Sunday, June 22 2025 @ 04:39 am EDT

Geeklog Forums

HTML & Php in Staticpages


Status: offline
Forum User
Newbie
Registered: 04/17/04
Posts: 1
Hello,
I was wondering if there was a way to use HTML in a php-activated staticpage, aside from using the 'echo' command.

Thanks!
 Quote

Status: offline
Forum User
Full Member
Registered: 10/20/03
Posts: 807
You can enter something like this for a staticpage:

Text Formatted Code
// Beginning php goes here
echo foo;
?>

<!-- HTML goes here -->


<?php
// More php goes here
echo bar;

?>
 
 Quote

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