Date: 05/15/01
- Next message: Phil Driscoll: "Re: [PHP-DEV] PHP 4.0.6RC1 ready for testing"
- Previous message: derick <email protected>: "[PHP-DEV] Bug #10887 Updated: Variables from forms being undefined"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #10887 Updated: Variables from forms being undefined"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 10887
User Update by: mikepeterson <email protected>
Old-Status: Feedback
Status: Open
Bug Type: Unknown/Other Function
Operating system: Windows 2000 Pro
PHP Version: 4.0.5
Description: Variables from forms being undefined
Here is an example of a script that returned the error in 4.05, and works in 4.04.
elseif ($delete) {
// delete a record
$sql = "DELETE FROM models WHERE model_id=$model_id";
$result = mysql_query($sql);
echo "$sql Record deleted!<p>";
Previous Comments:
---------------------------------------------------------------------------
[2001-05-15 15:54:10] derick <email protected>
Please post a short reproducing script. (short is under 10 lines)
---------------------------------------------------------------------------
[2001-05-15 15:50:01] mikepeterson <email protected>
When using PHP4.05 my script always told me a variable from a form I had on the page was undefined. Using isset() the script ran without problems, but returned every query with "1" (my best guess is that is TRUE from isset()). I installed PHO4.04 and everything ran perfectly.
Mike Peterson
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=10887
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Phil Driscoll: "Re: [PHP-DEV] PHP 4.0.6RC1 ready for testing"
- Previous message: derick <email protected>: "[PHP-DEV] Bug #10887 Updated: Variables from forms being undefined"
- Next in thread: derick <email protected>: "[PHP-DEV] Bug #10887 Updated: Variables from forms being undefined"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

