Questions tagged as 'mysql'

1
answer

Insert image database

Good friends, I have a small problem inserting image into the database function apresenta_formulario() { if (isset($_GET['id_publicidade'])){ $ligacao = mysqli_connect("localhost", "root", "", "publicidades"); if (mysqli_connect_e...
asked by 19.04.2015 / 00:20
1
answer

Search session user record in mysql

I have a follower exchange system, where the user irar logs on the panel and use his list then created a texarea so he can put his list which is in the email @ provider: password format and then save the data in the database table and aft...
asked by 25.03.2015 / 00:34
2
answers

Comparison between decimal numbers

I have 2 posts in a table, with prices 500.00 and 88.98. When I run to sort at the highest price, Mysql returns me that 88.98 is greater than 500.00, the price field is a string, why does this happen?     
asked by 16.12.2016 / 06:44
3
answers

Get comma-separated values from the database and organize them in li

I have in my database, in my table "db_home_content" the column "a2_content_x_imploders" ("x" would be its content number, as represented in the image) that contains some data separated by commas. Example: Site em HTML5, Alta velocidade, Resp...
asked by 27.01.2017 / 14:26
2
answers

How to give an echo in the modality? [closed]

Array ( [0] => Array ( [Planos] => Array ( [id] => 57 [nome] => test [descricao] => test [valor] => 1.00...
asked by 28.11.2016 / 19:12
1
answer

Sql, sum of several counts

Hello, I have a bank with 3 important tables, state, city and orders I need to rank the states of the one that has the most requests to have less, but the orders are only related to the city table. so I need to make a count for each city and add...
asked by 10.09.2018 / 15:41
1
answer

Configure database creation in another folder [closed]

Is it possible to change the source folder of the mysql database? I wanted to change his home folder     
asked by 04.11.2018 / 03:02
1
answer

How to use MySQL in a common form?

I'm having trouble using a MySQL database that I have on a host (bluehost) in a C # application, I would like to view the tables in an application but I can not connect to the DB, I already installed the connector, only the following message app...
asked by 18.11.2014 / 15:38
2
answers

CHANGE PHP STATUS [closed]

I am having a problem when changing the status of the users of my database, when I am going to change the status of some user it does not approve the user of that line but last user what can be? logado.php <?php //Con...
asked by 03.07.2016 / 04:53
1
answer

Insert file path in mysql [closed]

I need to insert a .pdf file per page and write to the database only the file path. The user uploads and writes. The file goes to specific folder and the MySQL database only has path. The beginning of the project follows: <?php //...
asked by 07.04.2016 / 02:35