Questions tagged as 'mysql'

0
answers

Problem with div that updates content

Well I personally have an ajax script making requests every 1 second to my database to show new content that has been published in the database however I am finding a problem this content always has a form per with a% Script &l...
asked by 19.02.2015 / 18:18
0
answers

Passing information between pages

What is the best way to pass information (data) between pages? Example: I have 4 (four) pages dadospessoais.php , endereco.php , habilitacoes.php and salvar.php . In the pages ( dadospessoais.php , ende...
asked by 20.11.2014 / 21:16
0
answers

Create function for formatting (X-1, X-2, X-3) for ('X-1', 'X-2', 'X-3')

I have a query that returns some CHAR type keys like this X-1, X-2, X-3 . The problem is that I now need to use with where chaves in( ... ) and would have to format the values for 'X-1', 'X-2', 'X-3' . This would save me some...
asked by 03.02.2015 / 21:43
1
answer

How to send and receive data to MySQL DB using PHP in Objective-C?

Scenario:  Sending and receiving forms to a MySQL database using PHP. I would like to know if anyone knows or has any link to a tutorial course and clear about these procedures, sending and receiving using JSON. It can be in English or Por...
asked by 15.10.2014 / 18:16
0
answers

Username always showing up as GUEST_NAME

I have the following code but in place of the user name it appears GUEST_NAME , even after logged in. I already checked if I'm using the correct table and I used session_start() ; MEMBERPAGE.PHP (where GUEST_NAME appears):...
asked by 20.11.2014 / 19:00
1
answer

Number sequence

I have a database (MySQL) with 100 registered customers and I'm creating a table of purchases of these clients, I know that the database creates an > I would like to put on this table only the first 20 customers who buy more products and would...
asked by 16.11.2014 / 19:35
1
answer

How do I send data from a JTable to my DB?

I have a filled JTable and need to store its data in a table in my database. How do I do that? I only know the reverse path (fill a table from the DB) I'm using MySQL     
asked by 21.12.2014 / 19:37
0
answers

Result of searching for two tables without relation

I have a question if it is possible to return in a query, records of two distinct tables, these tables having no relation. I have the table clothes and table accessories. I will make a dynamic filter to list clothes (color, size and price) an...
asked by 13.07.2015 / 16:37
2
answers

Problem signing into the magento backend

I made a mirror copy of a magento site. The site runs cute on the front-end , loads fast and everything else, but when I try to access admin , in> (prox to 2.3 minutes), when I log in , it returns this error: SQLSTATE[HY000]: General error:...
asked by 05.09.2014 / 20:39
0
answers

Calculate the page that an ID is located

Assuming I have 10 records and per page shows 3, then ID 2 will be on the 1 page, the ID 7 on the page 3 , and so on. In practice I need to access www.dominio.com/lista.php?id=7 and pagination skips to page 3, referring to the posit...
asked by 28.02.2015 / 00:40