Bug #856 Updated: Problems with string starting with

From: Date: Sat, 31 Oct 1998 14:36:13 +0000
Subject: Bug #856 Updated: Problems with string starting with
Groups: php.dev 
Request: Send a blank email to php-dev+get-2097@lists.php.net to get a copy of this message
ID: 856 Updated by: zeev Reported By: eric@maclands.net Status: Open Bug Type: Misbehaving function Assigned To: Comments: I ran the script <?php $sql_statement = "SELECT sym_name, gid FROM groups WHERE sym_name LIKE '%$astr%' ."OR g_disc LIKE '%$astr%' ORDER BY sym_name"; print $sql_statement; ?> and it always works perfectly. are you sure you're not using sprintf() somewhere along the line? if the above script (exactly that script, without any additions) doesn't work for you when astr begins with e, let me know. I'll need access to your machine since I can't reproduce it on my own Linux box. If the above script does work, then you've done something wrong somewhere else, probably in an sprintf() call somewhere. Full Bug description available at: http://ca.php.net/bugs.php3?id=856 -- PHP Development Mailing List http://www.php.net/ To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net For help: php-dev-help@lists.php.net

« previous php.dev (#2097) next »