anthelo
-
Posts
28 -
Joined
-
Last visited
Never
Posts posted by anthelo
-
-
not working
This is what my code now is look like.
<?php $requested_parts = explode('/', $requested); $requested = empty($_SERVER['REQUEST_URI']) ? false : $_SERVER['REQUEST_URI']; switch ( $requested_parts ) { case '/videos/': $content_title = 'Videos Home Directory'; break; default: $content_title = 'Welcome to my Website!'; } ?>
-
Hi,
Im having this peace of code
<?php $requested = empty($_SERVER['REQUEST_URI']) ? false : $_SERVER['REQUEST_URI']; switch ( $requested ) { case '/videos/': $content_title = 'Videos Home Directory'; break; default: $content_title = 'Welcome to my Website!'; } ?>
What im trying to do is when im on the domain www.mydomain.com will show $content_title . My problem is when im trying for example www.mydomain.com/videos/ everything is ok but when im on www.mydomain.com/videos/something_else/ I want the the same title again
Any help please?
joining 2 tables need help
in PHP Coding Help
Posted
i have 2 tables.
table 1
- Id
-Name
-ShortId
table 2
-lots of data....
-Category (same value with table1 Id)
im trying to join this 2 tables...
What i want to do is when Id = Category echo all data under the specific category