Welcome to Geeklog, Anonymous Friday, November 29 2024 @ 02:30 pm EST

Geeklog Forums

HTML & Php in Staticpages


Status: offline

aeon

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

Turias

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 EST. The time is now 02:30 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