break up php on page
-
I’d like to do
[insert_php]
if (preg_match(‘ip-address’)){
[/insert_php]
bunch of html here that will only display if IP address matches
[insert_php]
}else{
echo ‘ ‘;
}
[/insert_php]Is this possible to do? Close the first insert_php then add the html, or do i need to keep the original insert_php and do echo’s for all the html stuff?
Hope that makes sense. Thanks!
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘break up php on page’ is closed to new replies.