Questions tagged as 'ajax'

1
answer

Get data through POST to PHP from a MYSQL SQL query

** Hello good day, I wanted to know how I can get a value of a query by means of post to send it to a php. What happens is that in the example code that I followed ( Link ) only sends 3 data of different combobox and I occupy a 4th...
asked by 26.07.2018 / 04:32
1
answer

do a correct if else in MySQL procedure?

I have a condition that will be executed depending on the data that is being sent to the procedure. This is my code: CREATE DEFINER = erp@localhost PROCEDURE sp_stockProductoMovimientoAlmacen( idProducto VARCHAR(50), operacion CHAR(6),...
asked by 21.07.2018 / 18:34
1
answer

How to show the value of 1 of a check as a text

Change value = 1 to "Active" or value = 0 to "Inactive" if (isset($active) == 1) { $is_active = "Activo"; } elseif(isset($active) == 0) { $is_active = "Inactivo"; } Just as it shows all as Active and there should be one...
asked by 20.07.2018 / 18:51
2
answers

Consult specific data of mysql omitting others in php?

I have a table with the following data id, name, price, category, description, but I want to make a query according to the category, for example, if I select the chairs category just print those rows that have that category in said column. I ho...
asked by 08.07.2018 / 17:25
2
answers

how do I make the recently published comments go down

I have a comment box but the comments just published puts them first, and I want them to go last. from bottom to top "al réves" type chat messages. <main class="centered-bottom" id="main" role="main" tabindex="-1"> from there to below...
asked by 08.07.2018 / 05:26
1
answer

Problem using $ .ajax with safari

I have the following situation, I am using a $. ajax POST to send data to the server but I have a detail, when I load the site in a Safari browser either in a Mac or in a Ipad the process does not run to me and it keeps loading in: be...
asked by 30.07.2018 / 23:13
1
answer

How to count records by date according to the requested query?

I am looking for the counting of these services according to the date, these types of services are stored in a column. index.php <!DOCTYPE html> <html lang = "es"> <head> <title>Consulta De Estadist...
asked by 05.07.2018 / 18:01
1
answer

as I do so that the image also takes me to the post

I am using blogger and the title of the post obviously takes me to the post when I clicked, but the image does not, and I want it to do it too, this is the code: title code of the post: <b:includable id='postTitle' var='post'> <a...
asked by 04.07.2018 / 08:44
1
answer

show new items through ajax if the login is correct

I have the following idea 1) User fill in a simple form (nick and pass). 2) It is checked in the database and if it is affirmative it has access to new tabs, elements of the previously hidden page. Important I want to use technology...
asked by 26.06.2018 / 13:45
1
answer

How to send 2 lists by JsonResult

What I want to do is send 2 lists in a JsonResult method and receive them in Ajax. Because I have a table from many to many, I need to change the IDs by names. So I need you to return the name of things. public JsonResult GetHerramientas(int I...
asked by 26.06.2018 / 20:36