|
-
Nov 2nd, 2006, 09:20 AM
#1
Thread Starter
Member
-
Nov 2nd, 2006, 09:23 AM
#2
Re: help me this to break
I have no idea what you are talking about.
Break what? Drop down what?
By the way, never use echo() to output HTML.
-
Nov 2nd, 2006, 09:29 AM
#3
Thread Starter
Member
Re: help me this to break
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
-
Nov 2nd, 2006, 09:31 AM
#4
Re: help me this to break
use \n in a string for a newline.
-
Nov 2nd, 2006, 09:35 AM
#5
Thread Starter
Member
Re: help me this to break
it does not work i use already that
like this
echo "<script type=\"text/javascript\">
alert('$username11 \n $password22')
</script>";
-
Nov 2nd, 2006, 09:40 AM
#6
Re: help me this to break
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>
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|