Forum Moderators: coopster

Message Too Old, No Replies

Newbie here

         

Icarion

3:50 pm on Mar 20, 2007 (gmt 0)

10+ Year Member



what i want to do is change text on an htm page ( I have htaccess process any php in htm's) from saying "Get Upgrade" to "Login" when
the database changes from their payment.

And I already have them logged into site via htpasswd/htaccess...they just be upgrading.

I need a tutor :)

Thanks!
Rob

xoe26

4:26 pm on Mar 20, 2007 (gmt 0)

10+ Year Member



You should provide us with a bit more information - but if I understand you correctly - you can run a conditional statement like this:

if ($loggedin == TRUE) {

$html = "<p>Login</p>";

} else {

$html = "<p>Get Upgrade</p>";

}

print $html;