Search found 2 matches

by grifter
Tue Nov 19, 2002 3:21 am
Forum: PHP - Code
Topic: First attempt at Function - Help!
Replies: 2
Views: 492

Ahh. that would explain it! It's set at the sign in page and given global scope.

Thanks for your help.

G
by grifter
Sun Nov 17, 2002 5:29 am
Forum: PHP - Code
Topic: First attempt at Function - Help!
Replies: 2
Views: 492

First attempt at Function - Help!

Hi, I've tried to do simple function for changing a css class dependant on the variable passed to the function. function get_style($who) // $name from predictions table { $style = "user"; // default style. if( $who == $login ) // is this the logged in user? { $style = "thisuser";...