Questions tagged as 'mysql'

0
answers

Doubt virtual printer

Good afternoon,  I will create a system of issuing passwords for service queue in php.  The passwords will be printed on a bematech non-fiscal printer.  Bematech has a virtual fiscal ecf, does anyone know of any non-fiscal emulators? Or would I...
asked by 01.03.2016 / 17:37
1
answer

How to resolve this o_rdwr session error?

How can I resolve this php session failed o_rdwr no such file or directory The error occurs when I log in to the server, however, locally it does not give any error and loga normally someone could help me?     
asked by 30.09.2015 / 02:21
1
answer

How to import data (inserts) to a template (.MWB) in the workbench?

In the workbench I can insert data in the model individually by table of the form below, then when using the forward engineer just enable the Create Inserts in the SQL file that it generates, follows: But to do this for hundreds of table...
asked by 29.09.2015 / 23:00
2
answers

Do a search for my site in two tables

I need to do a search for my site where I would first get back to businesses that have something similar to the one typed and, below, show all registered products with something similar to the typed one. I have two tables: tbl_empresas 'id'...
asked by 30.09.2015 / 14:59
1
answer

Count records in Doctrine

I need to return the total number of records in a field of a table, and also count the number of records of a given id. I need to count the data of a poll's table of votes so I need to count the values of a field to calculate the percentage....
asked by 28.09.2015 / 05:24
2
answers

Database connection error

I have a problem connecting to MySQL database with PHP I am using WAMP I created a database in my PHPMyAdmin I made my connection via PHP but this error appears when I click send in my form : Thesearethecodesformyconnection:config.php&...
asked by 16.07.2015 / 18:44
1
answer

Save all PHP results to a single table in HTML

In my host it has an index.html with a form that is linked to a login.php that takes the results that the user typed and saved in an HTML table in the root of the site. The problem is that a table is created for each user and I want the data of...
asked by 25.09.2015 / 23:53
0
answers

Access Error Calling Login Page - PHP Generator

Recently locaweb has maintained its servers and after that some pages of our hosting have stopped working, I use a framework called PHP Generator for MySQL When I try to access the login page to perform some maintenance I get this...
asked by 23.09.2015 / 19:55
0
answers

Outdated data in Hibernate + JPA queries

I noticed a problem in my Spring application, I'm implementing an internal messaging service and when I create the display of the amount of unread messages I realized that the value varied with each update, whenever a new message arrived. In sho...
asked by 23.09.2015 / 19:44
1
answer

Variable table name in MySQL query with CONCAT ()

Is it possible to use CONCAT to form the name of the table to be queried? Example: SELECT T1.id, T1.col FROM tbl AS T1 LEFT JOIN CONCAT('tabela_prefixo_', t1.col) AS T2 ON T2.id = T1.id The actual query is much more complex than this. I...
asked by 24.09.2015 / 00:04