Whence Cometh Line Break?
| From: | Michael Gerholdt | Date: | Fri, 09 Mar 2001 14:03:24 +0000 |
| Subject: | Whence Cometh Line Break? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7252@lists.php.net to get a copy of this message | ||
I've discovered that this little bit of code is introducing a line break
into my
SQL string and it is causing it to break.
the month comes through as '[linebreak here]Mar'
<? $i =
date("M",mktime(0,0,0,date("m")-1,date("d"),date("Y")));?>
<input type="radio" name="month"
value="<?=$i?>"> <?=$i?>
(these are two unbroken lines in original code.)
Where does a line break come from in
value="<?=$i?>" ??
I'm mystified!
Thanks,
Mike