miniu Posted March 16, 2010 Share Posted March 16, 2010 How to change the code, that the names (fname and lname) will comin out as uppercaps? <TD align="left"><font color="<?=$col?>"><? echo stripslashes($row->fname); ?></font></TD> <TD align="left"><font color="<?=$col?>"><? echo stripslashes($row->lname); ?></font></TD> Quote Link to comment Share on other sites More sharing options...
dennismonsewicz Posted March 16, 2010 Share Posted March 16, 2010 To change them to upper use strtoupper http://php.net/manual/en/function.strtoupper.php <TD align="left"><font color="<?=$col?>"><? echo stripslashes(strtoupper($row->fname)); ?></font></TD> <TD align="left"><font color="<?=$col?>"><? echo stripslashes(strtoupper($row->lname)); ?></font></TD> Quote Link to comment Share on other sites More sharing options...
miniu Posted March 16, 2010 Author Share Posted March 16, 2010 thanx Quote Link to comment Share on other sites More sharing options...
trq Posted March 17, 2010 Share Posted March 17, 2010 Did I not answer this yesterday? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.