|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-01-23 19:24 UTC] keith at lucidts dot com
[2003-01-24 03:06 UTC] derick@php.net
[2003-01-24 03:19 UTC] keith at lucidts dot com
[2003-01-24 03:26 UTC] keith at lucidts dot com
[2003-01-24 03:27 UTC] sniper@php.net
[2003-01-27 22:46 UTC] keith at lucidts dot com
[2003-06-25 19:57 UTC] php at glaciersoftware dot com
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Nov 02 13:00:01 2025 UTC |
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!