Parašė zoltonas· 2010 Bal. 25 01:04:36
#9
Sveikas, pries pora minuciu pats to ieskojau ir radau taigi pasidalinu su tavimi:
Tai:
<tr>
<td class='tbl'>".$locale['u001']."<span style='color:#ff0000'>*</span></td>
<td class='tbl'><input type='text' name='user_name' value='".$userdata['user_name']."' maxlength='30' class='textbox' style='width:200px;'></td>
</tr>
Pakeisk tuo:
<tr>
<td class='tbl'>".$locale['u001']."<span style='color:#ff0000'>*</span></td>
<td class='tbl'>".$userdata['user_name']."</td>
</tr>
Tada nueik i includes/update_profile_include.php, ten susirask:
$user_name = trim(preg_replace("/ +/i", " ", $_POST['user_name']));
Ir pakeisk tuo:
$user_name = $user_data['user_name'];