Questions tagged as 'mysql'

2
answers

Problem when changing a student's schedule to another

Greetings guys, I have had a problem which I explain now: I make student registrations in courses which have their duration, schedule, amounts to pay, and unique payment dates. So far no problem the inscriptions process well, now what happens is...
asked by 06.09.2017 / 14:13
2
answers

How to throw blank activity by pressing the SearchView button?

I'm following this tutorial to create a SearchView in android studio with php and mysql all works well the only problem is that the results of the search are shown in a Recyclerview that is in the main layout of the app or the activity_main wh...
asked by 09.09.2017 / 15:15
1
answer

Problem with checkbox and listview

How to make the checkbox click if it is 1 and uncheck if there is 0 in a listview? public class AdminAcces extends ActionBarActivity { // Progress Dialog private ProgressDialog pDialog; // Creating JSON Parser object JSONPars...
asked by 26.09.2017 / 21:21
1
answer

MySql Create temporary table with read-only permission

I need to bring different results from the same table. For this I used the following code: CREATE TEMPORARY TABLE IF NOT EXISTS nombre_de_tabla_temporal AS (SELECT ...) My surprise is that the user I have is read-only and does not allow th...
asked by 06.09.2017 / 07:29
0
answers

because a dependent combo does not grab the first value

I'm doing a php project where I have to register a student in a section of a course, I have a first combobox where I show the courses that are available and then a second combobox that depending on the course you select, shows the sections that...
asked by 31.08.2017 / 02:00
2
answers

Export to excel from mysql with php and keep zeros to the left

I have the result of a query mysql that contains numbers with leading zeros, which I must keep on exporting to Excel. example: in BD the number 000018 appears when exporting to excel in the cell appears 18 This is the fun...
asked by 31.08.2017 / 11:59
1
answer

How to evaluate the opted records with SELECT to get the best one?

I have a database in Mysql 5.6 and I have a table where the drivers are registered, the database is used to manage the trips of a taxi site, it works in the following way: A client requests a trip, and that trip is recorded in a table called...
asked by 25.09.2017 / 18:32
2
answers

Php code does not insert data

Good afternoon I have this php code for a form which records the clients field but not the inspection income. Thanks in advance with the help ... if ($cod_asegurado == "1"){ echo "Valido, sigue tu camino"; $insertar_clientes = ("INSERT...
asked by 31.08.2017 / 15:49
1
answer

I can not enter Wordpress with user and pass created from phpMyAdmin

Migrate a site made in wordpress and everything is displayed correctly. The problem is that since I did not have the users to access the admin I went to phpMyAdmin / wp_users and there I modified user and password (as I did before). Despite doin...
asked by 31.08.2017 / 15:33
1
answer

how to make a multi update in php?

Good morning, I have come to tell you what I want to do and what my current code is. It turns out that I am trying to do a multi update done, I use the "id" of the element to filter in the table and in that same element I want to modify a fie...
asked by 01.09.2017 / 21:43