Hello guys and girls
I need a good way to say if url is index.php then show this and this content.
i have very little content on my site, so i don’t wanna make some fully dynamic stuff, just basic call stuff in via the url.
thanks for help
Hello guys and girls
I need a good way to say if url is index.php then show this and this content.
i have very little content on my site, so i don’t wanna make some fully dynamic stuff, just basic call stuff in via the url.
thanks for help
you could do something like
[php]
if(basename($file) == ‘index’) {
// do something
} [/php]
Thanks
i think i can get it to work now.