Questions tagged as 'mysql'

0
answers

Error in num_rows in php

The problem is this: <?php include '../functions/db.php'; include '../functions/Database.php'; $db = new Database(); $nick = $_POST["nick"]; $consulta = "SELECT cedula FROM pacient WHERE cedula = $nick"; $result = $db->select($consulta)...
asked by 14.09.2017 / 23:31
1
answer

could not be converted to string in foreach

I'm trying to import the data from an xlsx to my database, but I have a problem with the insert (read the excel data, that's all right, but do not insert them) this is the error message: Catchable fatal error: Object of class Box\Spout\Reader...
asked by 14.09.2017 / 19:35
1
answer

MYSQL-- Error Code: 1140

I need help with this error that marks me mysql and I do not understand what it means, and how I would have to solve it. drop temporary table if exists MinP; create temporary table MinP (select CantidadPS.cuil, min(CantidadPS.CantPrendas) fr...
asked by 19.08.2017 / 14:27
0
answers

Validate chat with PHP, AJAX and MySQL

In what I find myself validating my chat, I came up with a form that I do not know if it will work yet but it is as follows: In the chat at the moment to save two data = $ id_user which is the current session and $ id_ar which is the data of...
asked by 19.08.2017 / 21:11
1
answer

Help with an option selected

In these select I want to load the corresponding information for both, but I also want the select countries and cities, the selected country and city that the user has registered in the database, for the moment both functions work for me perfect...
asked by 20.08.2017 / 03:30
1
answer

Save independently for each DATE

Greetings, I am doing a medical consultation program and I need to do the following but I can not find a way to do it: I need that every time a patient comes to my medical consultation, I keep with the day the medical history came, so that...
asked by 19.08.2017 / 15:48
1
answer

MySql authentication problem

It turns out that after I did all the steps to tell the database, add connections, until then everything went great, until when I finished adding my tables and their field, that I execute my program I get this. I made a button in my meno that al...
asked by 18.08.2017 / 12:42
0
answers

Can MySQL Fabric be used with MyIsam tables?

Not much more, I am trying to see HA with MySQL and I have seen a very good solution with MySQL Fabric since it facilitates some tasks, and the reality is that I have tables in MyIsam that I can not alter and I have not found in any place if it...
asked by 15.08.2017 / 19:38
1
answer

Help with auto-increase search

HELLO friends a consultation: I have an inventory table id codigo descripcion 01 12345001 envase 02 12346001 caja 03 12345002 envase 04 12346002 caja I am making an entry form for new items to the inventory where with t...
asked by 15.08.2017 / 00:58
0
answers

How to point phpmyadmin local to server windows 2012?

I installed xampp in a server windows server 2012 and I am in the process of configuring, what I want is to connect to the server from my local machine, I did the ping test and I get to the server, in my local pc configure the config.inc file .p...
asked by 18.08.2017 / 13:39