Questions tagged as 'mysql'

3
answers

How to convert String to Date MySQL on Android?

Hello I have a question about how is the best way to convert a string to date in android fechauso = (EditText)findViewById(R.id.txt_fechadeuso); String fechausoo = fechauso.getText().toString(); I want to convert it to date because as I hav...
asked by 08.06.2016 / 21:34
3
answers

validate login (login) c #

I have a login form (user, password, permission) that has a combobox, which allows you to choose what type of user to start the session, depending on the type of user selected, validates the data from 2 different tables, but it gives me error:...
asked by 02.08.2018 / 21:38
1
answer

Double reference to a MySQL table

I have a database in which the data of students who have passed from the baccalaureate to the university are stored, now the school has 5 seats and it is the case that young people who studied in a seat, are currently reporting or attending trai...
asked by 03.08.2018 / 03:06
1
answer

consult a single distinct with condition

I have a table with 4 columns id, descripcion_articulo, cantidad, modelo, marca and this query: ("select distinct descripcion_articulo from " . TABLE_ENTREGAS . " where numeracion = '' order by descripcion_articulo ASC") to generate th...
asked by 31.07.2018 / 15:28
1
answer

Upload multiple photos using a PHP and MYSQL array It does not work

I am trying to upload some pictures through PHP and MYSQL, I am sending by means of a for the images from a form, to receive them is where I imagine my error is, any help I appreciate it. <div class="modal fade" id="addphoto_<?php ec...
asked by 30.07.2018 / 18:09
2
answers

How to show all the contents of a Mysql table in PHP?

I want to make people with the reader role, only see the contents of their rows, but the administrator sees everything, I'm using this code but I do not understand why it does not work. I do not see where the error is here in the logic, because...
asked by 30.08.2018 / 16:14
1
answer

Error in sql query

I have the following table and I want to make a record of certain values from php but when I try to enter it tells me that there is an error when inserting the data and I have the following code to enter that data to the base <?php if...
asked by 17.07.2018 / 12:54
3
answers

Show checkbox already marked with jquey according to a MySQL database record

I have a fullcalendar and clicking on some day will show me a form, the user enters the normal data and must select some people assigned to that event with a checkbox. ( There everything is fine ). Calendar image with events already created...
asked by 29.08.2018 / 14:54
1
answer

I need someone to help me with this query

I have a table details_messajeria1 which has two records, and I need collaboration for this query in mysql, since it throws me the two records and should only throw one ... the OR I have already replaced it with the AND and nothing...
asked by 13.07.2018 / 14:57
1
answer

pdo :: __ construct (): php_network_getaddresses: getaddrinfo failed: name or service not known in

I am uploading my website to the server and when logging in I vote this error. I have a connection page in which I detail all the configuration define('URL', 'https://www.aynii.pe/'); define('APLICATION', 'aplication/'); define('DB_TYPE', 'mys...
asked by 18.08.2018 / 01:36