print "<script language='javascript' type='text/javascript'>";

print "var a='Invalid User';";

print "document.writeln(a);";

What are you trying to do?

You have forgotten the

</script>

tag from the end or the code.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.