Questions tagged as 'mysql'

1
answer

Duplicate entry '213' for key 'PRIMARY' [closed]

Where is the error? Duplicate entry '213' for key 'PRIMARY' CREATE TABLE IF NOT EXISTS '%%PREFIX%%shipping_vars' ( 'variableid' int(11) NOT NULL auto_increment, 'methodid' int(10) unsigned NOT NULL default '0', 'zoneid' int(10) unsigned...
asked by 30.12.2014 / 03:57
1
answer

Track #hash and create description from it [LOGIC] [closed]

I came across this now and would like to debate to create a logic. Well, nowadays is used a lot of hashtags for everything in the main social networks, I almost never go to Twitter and when I enter I come across strange hashtags and do not kn...
asked by 20.12.2014 / 17:42
1
answer

Insert into mysql database

I'm doing a site that has a login field, which logs into the admin sector and can insert, delete, and change database items. The registration page is not entering the database. In fact, it is performing no function that it should perform. Sh...
asked by 04.12.2014 / 00:25
1
answer

mysqli getting boolean [duplicate]

My site is not doing searches! I could not figure out how to do queries through the search box, I try to access the cars in the database and it brings me the following error: Warning: mysqli_fetch_assoc() expects parameter 1 to be mysqli_res...
asked by 04.12.2014 / 23:30
1
answer

Problem with data change class [closed]

I'm trying to change data from my DB via Java application, but when I execute the code below I get the error / p> jButton.addActionListener(new java.awt.event.ActionListener() { public void actionPerformed(java.awt.event.Acti...
asked by 02.12.2014 / 19:43
1
answer

Add the same product to several categories

Good And the following I have a table categories and another table products at this point when creating the product I select the category to which it belongs by selectbox only I now have the need to associate a product to several categories I...
asked by 14.02.2015 / 14:40
1
answer

Error trying to connect to a local MySQL database

I'm having trouble trying to access a local MySQL database, I'm following this tutorial . My file MysqlConnect.java : package br.com.alerts; import java.sql.Connection; import java.sql.DriverManager; import java.sql.SQLException; i...
asked by 14.02.2015 / 23:42
1
answer

Problem selecting checkbox php

Good I have the following problem I am inserting multiple data through checkbox that part is already working now I wanted to do the validation to check the box of those that are already inserted in the database but I am not able to get all ma...
asked by 16.02.2015 / 15:51
3
answers

How to make a box appear when logged in

Well, I created a system with $_SESSION , and I would like to know how I could do for example. You have the login, the person logs in to the index, and returns on the same logged in page, and wanted some new things to appear to him, how co...
asked by 19.07.2015 / 14:13
2
answers

Do not show product idle when searching for products

I have a code snippet that searches my DB for the term, until everything is correct, but I have products that are inactive and should not be caught and are appearing, the code is like this, I should be wrong in the query. p> $query_rsBuscaF...
asked by 11.03.2015 / 19:58