Welcome to Geeklog, Anonymous Friday, December 27 2024 @ 04:04 pm EST
Geeklog Forums
HTML & PHP in staticpages
Bill
Anonymous
Hello,
I am going nuts trying to get php to execute within the html area of my staticpages.
What i want to do is carry a variable across pages to various areas of the static page.
Here is what i have
<?php
$xyzcode = $_GET['abc'];
$source = mnt;
?>
<html code goes here>
The code does not execute...i have tried it with closing php tags in the very beginning but no luck.
Any suggestions would be greatly appreciated.
Tks
bill
I am going nuts trying to get php to execute within the html area of my staticpages.
What i want to do is carry a variable across pages to various areas of the static page.
Here is what i have
Text Formatted Code
<?php
$xyzcode = $_GET['abc'];
$source = mnt;
?>
<html code goes here>
The code does not execute...i have tried it with closing php tags in the very beginning but no luck.
Any suggestions would be greatly appreciated.
Tks
bill
6
4
Quote
All times are EST. The time is now 04:04 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