Editor Manuel İnsert command
Editor Manuel İnsert command
omurlts
Posts: 35Questions: 6Answers: 0
do I use the datatables in database class manually
insert
update
delete
select
row count
how use this ?
how to get the error codes ?
This discussion has been closed.
Answers
Hi @omurlts ,
I don't understand your question, sorry. Please could you give more detail,
Cheers,
Colin
$insert = $db->insert());
this working but
update delete not working ?
any example have manuel insert, delete , update
We're happy to take a look, but please link to a test case - a test case that replicates the issue will ensure you'll get a quick and accurate response. Information on how to create a test case (if you aren't able to link to the page you are working on) is available here.
Cheers,
Colin
If you don't want to use the
Editor
PHP (or .NET or NodeJS) class, then I'd suggest probably just not attempting to modify it here. It was designed to work with a DataTable insert, not from a separate form.If you do want to use the database class that Editor comes with, the API reference for it is here.
Allan
just needed 1 example
it should not be so difficult
keep in mind that there is little English among your customers
good days
If you want to use the Editor
Database
class then an insert would look like:Where of course
columnX
is the column name andvalueX
is the value to write to that column - normally that would come from $_POST.Allan
insert working but delete or update not working
this correct usage ?
i solved problem
example