Mmm, I have changed the way the fonts are displayed but still no luck,
Im already running in an if statement so i cant copy what you have done above so any other thoughts would be appreciated.
I have pasted the complete code below upto the section that doesnt work.
<?php require_once('*******.php'); ?>
<?php
$colname_pref = "1";
if (isset($HTTP_POST_VARS['$userid'])) {
$colname_pref = (get_magic_quotes_gpc()) ? $HTTP_POST_VARS['$userid'] : addslashes($HTTP_POST_VARS['$userid']);
}
mysql_select_db($database_smslist, $smslist);
$query_pref = sprintf("SELECT f_face, f_color, f_size, bg_color FROM customers WHERE username = '$userid'", $colname_pref);
$pref = mysql_query($query_pref, $smslist) or die(mysql_error());
$row_pref = mysql_fetch_assoc($pref);
$totalRows_pref = mysql_num_rows($pref);
/* Let's do some checking and ensure that the user's email address or username
does not exist in the database */
$sql_tel_check = ("SELECT m_tel FROM mem_$userid WHERE m_tel='$m_tel'");
mysql_select_db($database_smslist, $smslist);
$sqlu = mysql_query($sql_tel_check, $smslist) or die(mysql_error());
$tel_check = mysql_num_rows($sqlu);
if(($tel_check > 0)){
echo '<center><font face="' . $f_face . '" color="' . $f_color . '" size="' . $f_size . '">Please fix the following errors: <br />';
echo "The mobile number you have entered is already been entered in our database.<br />";
unset($username);
echo "<a href='javascript: history.go(-1)'>click here to try again</a></font></center>";
exit(); // exit the script so that we do not create this account!
}