Hi,
I have a list of URL’s listed per line in file x.php:
[php]http://www.url1.com
http://www.url2.com
http://www.url3.com[/php]
Let’s say I have a link in my page with the following html code:
[php]
- so I can call the .listed class if the URL is included inside x.php () and .notlisted if it’s not ()?
Any recommendations to amend my coding are appreciated.
- [/php]
I also have the following CSS:
[php].listed {background-color:red}
.notlisted {background-color:yellow}
[/php]
What could be the php if-else (with echo) to insert inside the