Код: Выделить всё
if($user->save())
echo "goood";
Код: Выделить всё
'success' => 'js:function(data){
console.log(data);
}',
Код: Выделить всё
'error' => 'js:function(data){
console.log(data);
}'
.Object {readyState: 4, responseText: "", status: 200, statusText: "OK"}
ТАк вот вопрос почему не выводиться сообщение об успешной регистрации в консоле?