Questions tagged as 'mysql'

1
answer

Error with AutoComplete jquery UI

Good afternoon, I'm getting an error that I've never seen, trying to use the jquery autocomplete, follows the image, and the encoding: PHP:(Iusedasanexample,Ididnotaddthelikeinselect,theyaredynamicvalues!)<?phprequire_once('acessabanco.ph...
asked by 09.12.2017 / 19:46
0
answers

I can not display data from the Mysql table on the site

So I was doing a site by local host on wampserver, and it was working normally, now I put it to host hostiger, and it's not pulling any more data from the table. Does anyone know what it could be ?? //Codigo onde mostra os produtos <?php...
asked by 25.11.2017 / 13:43
1
answer

Item composition of the same SQL table

Well, I started studying MySQL recently and I found a question I could not solve: An ITEM table has the columns (PK) cd_item, nm_item, ds_item, cd_type_item, the problem in the case is that an item can be formed by the composition of 2 or 3 item...
asked by 13.12.2017 / 04:31
0
answers

Add PHP and MySQL hours

I took a project in progress, a tracking system that has a working day calculation. The system calculates certain, but sometimes adding up time of the vehicle stopped and walking sum 24 hours 59 minutes. I'll try to put some of the code here...
asked by 25.11.2017 / 20:40
1
answer

Create only one and not several modals

Well, I have a registration system and in the part of updating the user data it generates a modal, but the page is getting heavy because there are many records and each record has a modal, how do I create only one and popular the same according...
asked by 25.11.2017 / 20:20
1
answer

Problem checking user already exists before registering

I'm starting now, and I have a question. I had done to register a category, until then ok, but I realized that I was registering even with an existing category, then I decided to add a function to check in the database if what was entered alread...
asked by 25.11.2017 / 22:42
2
answers

List Category and sub-category

Good afternoon, I am developing a framework in the MvC model and wanted to list the categories and the subcategory I am using a unique CATEGORY table. with the following fields. mysql> select * from ws_categoria; +--------------+--------...
asked by 07.12.2017 / 17:55
1
answer

Only writes ID 0

I have a problem that I have tried in many ways, but the only one is writing the Zero id. Part of the button to register the street in the neighborhood Neighborhood Listings neighborhood_list.php Part of the button to register the st...
asked by 03.12.2017 / 17:06
1
answer

Data record in the Database in Laravel 5.4?

I've got a project in progress but I still do not know Laravel very well, and I'm trying to save the data in the database using this code in controller : public function store(Request $request) { $validator = \Validator::make($request->...
asked by 23.11.2017 / 19:04
0
answers

Make insert with select

I have a table named label, with varcharTag name and quant int 11. When I insert into the label table, I have to increase the total quantity registered in bank +1 . But I do not know how to do this without having to do another query over and...
asked by 28.11.2017 / 16:31