jamesxg1 Posted April 7, 2010 Share Posted April 7, 2010 Hiya peeps, Here's what I'm doing. <?php session_start(); class profileDetails { $error = '<style> .error { background-color:#edf1f3; border-style:solid; border-width:1px; border-color:#9aaab4; padding:4pt; text-align:left; margin-left:10px; margin-right:6px; } .errortext { color:#009999; font-style: normal; font-family: monospace; font-weight:bold; } </style> <div class="error"><span class="errortext"><center>Sorry for inconvenience but our system has located an error.</center></span></div>'; private $memberID; If I remove $error the error goes, the thing that baffling me is I am doing this in all of my other classes, does anyone know why this is happening? Many thanks James 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.