The following scenario is presented to me, I have in my HTML a <textarea> in which the user will enter a query, as if it were the command line, example, I can enter:
SELECT * FROM users;
SELECT * FROM countries;...
I am trying to validate the login of my application with a POST method, but the problem is that I do not know how to redirect once I get the response from the server.
$.ajax({
type: "POST",
url: '@Url.Action("IniciarSesion", "In...
At the moment of wanting to do a fetch_array send me this error and I can not solve it
Fatal error: Call to undefined method PDOStatement :: fetch_array ()
my code so far is the following
<?php
$query = "SELECT * FRO...
I have an input of type text there is entered an id to verify if you existed or not.
list.forEach(function(a) {
if (b == a["id"]) {
g["setstatus"](true, a["id"], f);
return c(true)
alert("Correcto!");
}
g["s...
Hello StackOverFlow colleagues, I have the following question, how can I load or give a value to an input when selecting an option in a select or dropdownlist?
my create controller is as follows:
// GET: Collaborators/Create
publ...
I tell you my problem I'm trying to edit a record and the data I send to call through an id with Js and it works.
But after sending that id with Ajax through "POST" to a method to do the query and return the values, it sends me an erro...
I have a page made in HTML and JavaScript , in this I have a form with several inputs among them is a input file , and I send them to server through Ajax and JS .
On the server side I receive the data of inputs , bu...
I have a form that when selecting a 'select' is sent automatically by AJAX, the call works well. Now when passing the variables of the form it says Notice: Undefined index:
In the index.php file I have
function enviar(theForm) {
$.a...
I want to take the information of this json ( link ) and show them in an HTML and show me only the data of the team that it has as clantag TRCIO, until now I have managed to show me the data, but it shows me those of all the equipment.
How could...
I have a table where I show users with a column / id of "state". Where you will have two values: color green (activo, estado=1) or color red (inactivo, estado=0) . I have the following code to change the state but it shows me the in...