ID: 31679 Updated by: [EMAIL PROTECTED] Reported By: anderson dot web at gmail dot com -Status: Open +Status: Bogus Bug Type: MySQL related Operating System: Windows XP PHP Version: 4.3.10 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. Thank you for your interest in PHP. Ask support questions on the mailing list, no bug here. Previous Comments: ------------------------------------------------------------------------ [2005-01-24 14:14:56] anderson dot web at gmail dot com Description: ------------ If I use in the code above, $query = "select inst_codigo, inst_nombre from rdc_tam_institucion"; It works :D In the MySQL command line >select * from rdc_tam_institucion; this also works :D Reproduce code: --------------- $db_selected = mysql_select_db('db_redicas', $link); if (!$db_selected) { die ('Can\'t use db_redicas : ' . mysql_error()); } $query = "select * from rdc_tam_institucion"; $result = mysql_query($query); if (!$result) { die('Invalid query: ' . mysql_error()); } Expected result: ---------------- execute the query Actual result: -------------- Warning: mysql_query(): Unable to save result set in C:\Documents and Settings\Alberto.MINNESOTA\Mis documentos\BlueCode\Redicas\Software\Directorio.php on line 27 Invalid query: Unknown MySQL error ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31679&edit=1