how can i break or dropdown the $password22 variable
im using the php combination of javascript this is only my problem ??? some experts help me :) thanks :)
;)
echo "<script type=\"text/javascript\">
alert('$username11 $password22')
</script>";
Printable View
how can i break or dropdown the $password22 variable
im using the php combination of javascript this is only my problem ??? some experts help me :) thanks :)
;)
echo "<script type=\"text/javascript\">
alert('$username11 $password22')
</script>";
I have no idea what you are talking about.
Break what? Drop down what?
By the way, never use echo() to output HTML.
the value variable of $password22 will be in the underneath the varible $username22
something like this
the value sample is &password22 == ooooo and the $username22 == pppppp it will be in the message box is
oooooo
pppppp
but not oooooppppppp " thanks :)
use \n in a string for a newline.
it does not work i use already that
like this
echo "<script type=\"text/javascript\">
alert('$username11 \n $password22')
</script>";
Oh, that's because you're using double quoted PHP strings. And you're still using echo(). I told you echo is bad and this is exactly why: it makes it hard to spot errors.
Always do it like this:
PHP Code:<script type="text/javascript">
alert('<?php echo $username11 ?>\n<?php echo $password22 ?>');
</script>