Comments (1)
My bad...
I deleted some important parts, like this:
Previous
if ( $stmt = $mysqli->prepare("UPDATE $tablename SET $colname = $value WHERE idoferta = $id")) {
$return = $stmt->execute();
$stmt->close();
}
After
if ( $stmt = $mysqli->prepare("UPDATE ".$tablename." SET ".$colname." = ? WHERE idoferta = ?")) {
$stmt->bind_param("si",$value, $id);
$return = $stmt->execute();
$stmt->close();
}
I deleted the parameters and change the '?' in the query. Sorry
from editablegrid-mysql-example.
Related Issues (20)
- loaddata.php patch
- Update fields
- How do I get set up the grid so all columns can be filtered? HOT 2
- no hidden column HOT 1
- date from datepicker - no update
- how to upload file ?
- multiple editablegrid HOT 2
- url in a cell HOT 2
- multiple primary key for one table
- Filter not working on all columns HOT 1
- ErrorCode "Call to undefined function mysqli_init()"
- response == "ok" fails because of line break in "ok" string
- sorting date column only sorts by day and ignores month and year HOT 1
- Time picker?
- javascript error on demo with current mysql table HOT 1
- New columns added make grid go blank
- How to make every column header into individual filter
- Link to an URL / Website
- hidde column doesn work
- Question about addRow process
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from editablegrid-mysql-example.