danielwrobert


Member since 10/03/2010

Name: Daniel Robert

danielwrobert

Location: San Diego, CA

Website: http://www.coffeewiththeboogeyman.com

Dan is a designer/developer living in San Diego, CA. As a graduate from Platt College with a Bachelor of Science in Media Arts, Dan is currently working as a UI Developer for Action Creations - an interactive agency in San Diego.

2 snippets

1262 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet

danielwrobert's Recent SnippetsTagged php



« Prev 1 Next »
Previously, I posted a little snippet I found on how to generate a special body class on each .php page. I, later, needed to get that body class and echo out a piece of HTML, which depended on my current page. So here is the snippet that I came up wi...
0 730 posted 13 years ago by danielwrobert
From an awesome comment on how you can use PHP to apply the unique ID to to the body element. This will return the name of the PHP file being executed as the ID (e.g. body id="index.php"). To leave off the .php part, just remove the ".php" part.
0 980 posted 13 years ago by danielwrobert
« Prev 1 Next »