/    Sign up×
Community /Pin to ProfileBookmark

Can I run PHP code in my CSS???

Hi all,

Could I run some PHP code when hovering over an element?

what I would like to do is:

when hovering over an element, do a linux grep statement.

I have a PHP script that shows files and their timestamps in a web browser, now I wanted to know if I could hover over one of the file names, and while hovering run a grep command and get some results to display in the hover. Or maybe something like a tool tip.

Any thought would help,

to post a comment
CSS

3 Comments(s)

Copy linkTweet thisAlerts:
@pcthugOct 17.2006 — Look into AJAX.
Copy linkTweet thisAlerts:
@Phill_PaffordauthorOct 17.2006 — pcthug, since your a Moderator could you suggest a ajax section for this site? I know it is more then one language, but this would help developers know where to post.

Thanks for the help, I will post some questions in the Javascript forum
Copy linkTweet thisAlerts:
@pcthugOct 17.2006 — Phill, I think the current [B]Javascript[/B] and [B]XML[/B] forums are currently sufficient. [url=http://www.webdeveloper.com/forum/showthread.php?t=100153&highlight=ajax]Previous Discussion of an AJAX forum[/url] was inconclusive and I doubt that JP has changed his mind since.
×

Success!

Help @Phill_Pafford spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.16,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...