Welcome Guest, Not a member yet? Register   Sign In
how to parse validation_errors();
#1

[eluser]nandish[/eluser]
Hi guys.

unterminated string problem.


In view page
[removed]
error = "<?php echo strip_tags(validation_errors()));?>";
alert(error);
[removed]

if it is single error it will alert the message,
but if its more than one error i had got error like unterminated string.

output
error = "passwrord filed is required.
verfication code is required.
first name is required. "


I removed \r\t\n character also but still no luck

Thanks in advance


Messages In This Thread
how to parse validation_errors(); - by El Forum - 07-02-2009, 07:24 AM
how to parse validation_errors(); - by El Forum - 07-02-2009, 07:38 AM
how to parse validation_errors(); - by El Forum - 07-02-2009, 05:48 PM
how to parse validation_errors(); - by El Forum - 07-02-2009, 05:59 PM
how to parse validation_errors(); - by El Forum - 07-02-2009, 06:15 PM



Theme © iAndrew 2016 - Forum software by © MyBB