#38838 [Opn->Bgs]: "<" or ">" disappears out of string before handing over to mysql

From: Date: Fri, 15 Sep 2006 10:04:07 +0000
Subject: #38838 [Opn->Bgs]: "<" or ">" disappears out of string before handing over to mysql
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-102219@lists.php.net to get a copy of this message
ID: 38838 Updated by: tony2001@php.net Reported By: cchrist at mcpsoftworks dot com -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: linux PHP Version: 5.1.6 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Previous Comments: ------------------------------------------------------------------------ [2006-09-15 09:46:20] cchrist at mcpsoftworks dot com Description: ------------ This is, what I write into the string: $sql = "select count(upload_id) from patient_visits where patient_id=".$this->patient_id. " and upload_id is not null and upload_id<>".$this->upload_id; This is in the string, AFTER this statement: select count(upload_id) from patient_visits where patient_id=1 and upload_id is not null and upload_id33 get this -----------------------------^^^ WHY??? Expected result: ---------------- a correct string Actual result: -------------- a string without those "<>" I wanted to put there. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=38838&edit=1

« previous php.bugs (#102219) next »