Questions tagged as 'phpmyadmin'

1
answer

Problems with json on android

I have a problem when registering a user in my android app In the registry.java I have the following code public class Registrarse extends AppCompatActivity { EditText etnombre, etusuario, etpassword, etedad; Button btn_registrar;...
asked by 09.04.2018 / 16:38
0
answers

data call [closed]

to see good morning, a doubt that I do not know because I get it. I have created a dashboard to host the news that I will use on a website but I have a problem, I copy the text in the textarea and I save it with spaces (as I need it) but my prob...
asked by 06.03.2018 / 10:07
2
answers

ORDER BY RAND in records

Does anyone know how to use the order by rand? to show random records of a table. Could you show me any example? SELECT nombre, precio FROM productos ORDER BY RAND() LIMIT 0,10     
asked by 18.04.2018 / 01:19
1
answer

Do not insert all the values selected by checkbox

<?php require 'connect_db.php'; $turno = $_POST['idctg_turno']; $entrada = $_POST['hr_entrada']; $salida = $_POST['hr_salida']; $dia = isset($_POST['idctg_dia']) ? $_POST['idctg_dia'] : null; $arraydia = null; $...
asked by 22.02.2018 / 08:57
1
answer

Generate a report in PDF in PHP AND MYSQL

Good evening I make a report in PDF with PHP and MYSQL of what my table of my BD contains are: * (main table) "worker" with the attributes control_id, name, ap_parter, ap_maternal, NSS, CURP, RFC and with the foreign keys id_puesto, id_area,...
asked by 15.02.2018 / 06:11
1
answer

syntax error [closed]

What happens is that I'm trying to insert the data sent by php but I get syntax error:    on Tutela Poso no no 2018-02-14 112345 Clinical Society Emcosalud is still trying 98765432 Citizenship Card or problems in the selectYou have an error i...
asked by 02.02.2018 / 16:25
1
answer

Show all rooms, and know if it is free or occupied, according to a specific date

According to a specific date, show all the rooms, also show if it is free or not (that can be known with the reservation). So far I have managed to locate the reserved rooms: SELECT h.habitacion_numero as habitacion, r.inicio_fec...
asked by 15.12.2017 / 23:52
1
answer

I get this: "Notice: Trying to get property of non-object in C: \ xampp \ htdocs \ 123 \ determ.php on line 192"

I made a login and everything worked perfectly but when I made the registration I missed that error here: if($contra==""){ //si que no existen ningun //contraseña mostramos el mensaje de error $this->Mensaje='<div class="alert alert-dang...
asked by 16.11.2017 / 06:33
0
answers

error # 1005 - Can not create table (errno: 150)

I try to create a table that refers to a foreign key that I created earlier, the statement of my instruction goes like this: create table IF NOT EXISTS opcion( id_opcion varchar(21) not null, id_pregunta varchar (21)not null, prima...
asked by 05.10.2017 / 17:00
1
answer

Variable undefined PHP and Mysqli

[![introducir la descripción de la imagen aquí][1]][1]<?php session_start(); $conexion = mysqli_connect("localhost","root","", "trigoyponque2017"); /* $ruta = $_FILES['foto1']['tmp_name']; $destino = "../productos/".$_FILES['foto1']['name...
asked by 05.10.2017 / 23:37