incorrect INTEGER value:
When I submit my update form, I get this error: "incorrect INTEGER value: " What might be causing this and how do I fix it?
When I submit my update form, I get this error: "incorrect INTEGER value: " What might be causing this and how do I fix it?
This means you are passing a blank value to a column that is set as an integer. If you provided a copy of the page then I could probably give more information.
I have the same Problem when I use any Get, Server, or Binding as filter
incorrect INTEGER value:
Any Idea?
+++
<?php require_once('../Connections/ixtapa.php'); ?>
<?php require_once('../webassist/mysqli/queryobj.php'); ?>
<?php
if (true) {
$DeleteQuery = new WA_MySQLi_Query($ixtapa);
$DeleteQuery->Action = "delete";
$DeleteQuery->Table = "places_hotel";
$DeleteQuery->addFilter("id_place", "=", "i", "".($_GET['id_place']) ."");
$DeleteQuery->execute();
$DeleteGoTo = "index.php";
if (function_exists("rel2abs")) $DeleteGoTo = $DeleteGoTo?rel2abs($DeleteGoTo,dirname(__FILE__)):"";
$DeleteQuery->redirect($DeleteGoTo);
}
?>
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<body>
</body>
Are you passing in an integer value in the url for id_place when you see the error? What url is this at?
Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.
These out-of-the-box solutions provide you proven, tested applications that can be up and running now. Build a store, a gallery, or a web-based email solution.