Questions tagged as 'mysql'

1
answer

Problems logging in using the crypt () function in PHP

I'm returning to the PHP world after a long winter. I took an example user registry that uses MD5 as the encryption standard and now I'm trying to login to a test user because I need to change the default to crypt (Blowfish). The password rec...
asked by 12.07.2017 / 01:34
0
answers

Error in image upload with PHP [closed]

When submitting the form register name, email and password, but the image does not register and I can not find the error. Some unsuccessful attempts: By putting enctype="multipart/form-data" the file posted to MySQL the temp...
asked by 07.07.2017 / 23:19
0
answers

Authentication with NodeJs and MySQL? [closed]

Does anyone know any article / tutorial / code that teaches you how to create a session login system or cookies using Node.Js + MySQL?     
asked by 08.07.2017 / 18:35
0
answers

Report Viewer only works local

I developed an ASP.NET WEB FORM application and used the Report Viewer for reporting and MySQL. However, when uploading the application to the hosting (GoDaddy), the Report Viewer does not work. I have tried everything, I think it is the lack of...
asked by 07.07.2017 / 19:56
1
answer

How to insert in 3 tables at the same time? (PHP + Mysql)

I always come here for research but never had to ask. Now I am at a crossroads. I need to add data in 3 tables at the same time (books, author and editor), and in book, I have a foreign editor and author key. In sql I got something like th...
asked by 14.07.2017 / 22:50
0
answers

List 5 objects in a List

I'm setting up a panel that should show 5 products, for example, in the index of a page, however I can only load all the objects that are saved in the DB, and I can not think of a way to do this, , by DAO, loading in a class or even on the front...
asked by 07.07.2017 / 07:30
0
answers

Problem with Ajax does not support BLOB?

I want to bring a file with ajax that is in my database, but the file becomes too big for ajax. It has modified the ajax so it brings the file or there is another way. MY AJAX CODE $('#datatable-responsive tbody td').click(function(){...
asked by 18.07.2017 / 15:52
1
answer

Update Trigger in Mysql

I do not know much about Mysql and I need to do a trigger to update a line right after insertion. When the user registers an order he selects how many orders he wants. In the database a type is saved in one column and in another column the amoun...
asked by 29.06.2017 / 20:24
1
answer

Catch all the rows of a query

Friends, I have a problem: I need to get each rows in a query with a loop. I saw a code in StackOverflow, but it does not work. Who knows how, please let me know. Follow the code: ResultSet rs = conn.prepareStatement("SELECT * FROM 'rankups...
asked by 13.07.2017 / 03:16
0
answers

error # 1932 in phpMyAdmin

I installed XAMPP for Windows 5.6.15, Apache + MariaDB + PHP + Perl. It works fine until "out of the blue" some tables randomly get "in use". I simply can not access them anymore, continue to write, edit and delete via PHP command, but they are...
asked by 13.07.2017 / 02:17