Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Using php within the page
#6
Connie Wrote:when you have activated the plugin, you can just enter the php-code in the editor (in source code view)

Or you add that code into a component and use that component in your template.

just activate it and add

<?php
echo "hello world";
?>

into the source code of a page and see what happens

Cheers, Connie

Connie, thanks so much for the help.

When I plug that code into the source, save it, then view it -- it works great.
But if i go back into source view it comments out my code. Is it supposed to do that? I think that's what was happening to my code. Every time I went back into source view to adjust it, the editor would comment everything out.

Don
Reply


Messages In This Thread
Using php within the page - by dondemaio - 2011-08-04, 08:49:53
Using php within the page - by Connie - 2011-08-04, 15:20:13
Using php within the page - by polyfragmented - 2011-08-04, 19:01:45
Using php within the page - by dondemaio - 2011-08-04, 20:02:54
Using php within the page - by Connie - 2011-08-04, 23:46:56
Using php within the page - by dondemaio - 2011-08-05, 00:10:50
Using php within the page - by Connie - 2011-08-05, 01:12:22



Users browsing this thread: 2 Guest(s)