ID: 21851 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Scripting Engine problem Operating System: debian linux PHP Version: 4.3.0 New Comment:
derick in your email that i received when you posted i could see <select name='s t a t u s' size="1"> using squirrelmail ... a php imap client BUT browsing this thread online (same computer and same browser as the imap client, XP home and IE respectively) ... no "s t a t u s"! anyone browsing this thread on a mac using IE perchance? Previous Comments: ------------------------------------------------------------------------ [2003-01-24 03:19:32] [EMAIL PROTECTED] update ... ok this may not be a php problem afterall ... although i can reproduce it on every windows machine i've tried but on every lynx and conquerer it comes out as expected ... the mystery continues .... additional note ... i've tried with both netscape and ie on xp and 98 problem persists from 4 different computers (2 at the office 2 at home) ------------------------------------------------------------------------ [2003-01-24 03:06:41] [EMAIL PROTECTED] Looks fine here: <select name='status' size="1"> Derick ------------------------------------------------------------------------ [2003-01-23 19:24:13] [EMAIL PROTECTED] OMG! It just did it to this post! Am I missing something or just dumb? I wrote <select name='s t a t u s' without the space and look what happened! Same thing for the first foo1. That was actually a 's t a t u s' when I submitted this bug report. I feel so lost right now. ------------------------------------------------------------------------ [2003-01-23 19:17:09] [EMAIL PROTECTED] The word "status" was replace by foo1 and sometimes just spaces within & outside of <? ?> tags! snippets from my page html .... <select name=' ' size="1"> <option value="" <?= $_SESSION['status'] ? "" : "selected" ?>>All</option> output via view source in IE .... <select name=' ' size="1"> <option value="" selected>All</option> php <? if ($_SESSION['cat_id']) $sql .= " and cat_id = {$_SESSION['cat_id']}"; if ($_SESSION['status']) $sql .= " and foo1 = {$_SESSION['status']}"; echo "$sql"; ?> relevant php output .... ... and cat_id = 8 and foo1 = 'pending' I have never seen anything like this before. It's replacing words outside of the php, too. Furthermore, I've used status in parts of the same page in other sql statements (albeit for different tables), and they were not replaced. Insight would be greatly appreciated! ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21851&edit=1