Questions tagged as 'mysqli'

1
answer

The form does not send data to the bank

I've created a discussion topic registration form. Discussion topics are linked to a foreign key category. So if I click on a category a list of topics appears. What I want is to be able to register a topic linked to a category with a form on th...
asked by 26.05.2015 / 21:50
1
answer

I need to change the onclick button to angular.js

Good evening. I'm using Bootstrap pagination with Angular.js. I can get the bank details and list it, it looks beautiful, etc ... the way I needed it. However, I need to open a modal window and this worked when I was using the javascript func...
asked by 17.05.2015 / 07:43
1
answer

Comment for each post id without multiplication of it

First look at my database image (the link arrows from one table to another are inner join 's): link Current Query: "SELECT question.*, questioncomments.*, login.* FROM questioncomments INNER JOIN question ON questioncomments.commen...
asked by 21.04.2015 / 21:31
1
answer

Error in line mysql_fetch_array [closed]

This is an information search engine for universities, my CBT. This is the error: $mysqlli=newmysqli($servidor,$user,$senha,$banco);if(mysqli_connect_errno())trigger_error(mysqli_connect_error());elseecho"sucesso"; //@mysql_select_db("faculdade...
asked by 22.11.2014 / 16:19
2
answers

Problem with MySQL discontinued for MySQLi [duplicate]

I have a problem on my site, it all started after I received a MySQL discontinuation message, and they asked me to change it to MySQLi, after I changed a series of codes appeared on my page, what should I do to to fix the errors? The initia...
asked by 31.10.2014 / 19:42
1
answer

How to put an image inside the echo and not show if it is empty

I made the code to show only if it has image, but it also shows the body of the empty, it says in the source code of the page that my PHP is a comment as shown in the image below. Andthecodeisthis: HowdoInotshowtheemptyphotosthewayyouarehere...
asked by 18.12.2018 / 00:57
2
answers

RMySQL - My querys return a list

Hello, I'm working with a database that I usually access with the workbench. To start importing directly into R, I'm using the RMySQL library. I can make the connection and find my tables, but at the time of importing with tbl it returns me a li...
asked by 12.12.2018 / 21:16
1
answer

MYSQL connection error on Android using php

I'm trying to connect my Android Java application via php with my MYSQL database and insert data into it, but despite the Android application reporting that the "user was successfully registered" the data I try to insert does not appear in the d...
asked by 10.12.2018 / 13:28
0
answers

Update with PHP and MYSQL division

How do I UPDATE for all users of a database? For example: UPDATE usuarios SET juros=investimento + investimento * 30 /100 WHERE id='89' The bank will take the investment data and add 30%, but if I take the WHERE to add this v...
asked by 12.12.2018 / 03:47
0
answers

Column count count error in MYSQL

I'm having the error "# 1136 - Column count does not match the count of values on line 1" in MySQL, I use PHPMyAdmin to administer the database. I'm doing an insert into a table, using two other tables. I have information about a table called...
asked by 29.11.2018 / 19:56