#32356 [NEW]: doesn't show the characters of the items

From: Date: Thu, 17 Mar 2005 18:25:27 +0000
Subject: #32356 [NEW]: doesn't show the characters of the items
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-75445@lists.php.net to get a copy of this message
From: lavitaesbena at hotmail dot com Operating system: Windows XP PHP version: 4.3.10 PHP Bug Type: MSSQL related Bug description: doesn't show the characters of the items Description: ------------ Doesn't perform the query Reproduce code: --------------- $get_colors = "select item_color from store_item_color where item_id=$item_id order by item_color"; // $get_colors_res = mysql_query($get_colors) or die(mysql_error()); Expected result: ---------------- To get the colours of the items Actual result: -------------- You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 1 -- Edit bug report at http://bugs.php.net/?id=32356&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=32356&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=32356&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=32356&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=32356&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=32356&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=32356&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=32356&r=needscript Try newer version: http://bugs.php.net/fix.php?id=32356&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=32356&r=support Expected behavior: http://bugs.php.net/fix.php?id=32356&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=32356&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=32356&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=32356&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=32356&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=32356&r=dst IIS Stability: http://bugs.php.net/fix.php?id=32356&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=32356&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=32356&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=32356&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=32356&r=mysqlcfg

« previous php.bugs (#75445) next »