Guys is there a way to show more than one error code inside xmlhttp.php pop-up window. Because when there is more than one error they show in the postbit like a message, is this normal behavior, should I fix it or just leave it the way it is it's not harming forum in anyways???????
You mean if you call $data->error multiple times? You can fix this by:
Every time you call $data->error just replace that with
$errors[] = 'Your error message';
at the very end of the function use this:
$data->error(implode("\n", $errors)); // I assume /n should work since it is an ajax request
Should do the job.
Thanks buddy very much yet again you have just saved the day!