What is wrong with this query?
SELECT
clientes.idClientes,
clientes.nome,
clientes.bloqueado,
planosclientes.idPlanos,
planos.nome,
enderecos.bairro,
enderecos.cidade
FROM
planoscliente...
I have a pertinent question regarding the connections in my database.
I was told that with each new connection to MySQL a portion of the RAM is reserved for this connection. I have several applications developed in PHP that connect in the sam...
I have a form where I can mark several checkbox at the same time and wanted to know how to identify the ones that are marked and save them in the database.
In the database I will have a table and a column for every checkbox beca...
I'm doing a script for study in this link and would like to implement in this script a countdown timer as it does on collective purchase sites and would like the help of you to accomplish this task.
What I have already done is to register...
Well, I've got a question because I was kind of "stuck" without knowing how to do it. I have the following code:
<?
foreach($data as $index => $row) {
$className = $index % 2 == 0 ? "class" : "class-1" ?>
<form action="" name=...
This code is giving error.
Warning: mysqli_connect (): (42000/1044): Access denied for user 'u469236901_roota'@'10.2.1.41' to database 'u469236901_sysU' in /home/u469236901/public_html/RegisterUnity.php on line 7
Warning: mysqli_err...
I created a connection class for my application in Xamarin, but every time I try to connect it throws this exception:
"The type initializer for
'MySql.Data.MySqlClient.Replication.ReplicationManager' threw an
exception "
Follow the...
I need to get the top 10 results in my table and their respective percentages, separating by groups. For example the table:
+-----+-----+
|id |fruit|
+-----+-----+
| 1 | or |
| 2 | ban |
| 3 | or |
| 4 | or |
+-----+-----+
It w...
I'm trying to do a SELECT through PHP's mysqli, but it's returning null in all parameters of the object returned by $ mysqli-> query ($ sql) >.
ItstillreturnstherowsthatIselectedfromthetable,butsomevaluescomenullalso:
Follow my code:...
I have a problem with INSERT in PHP. I have a table named products_1 and another called products_2. Table 1 has the same products as the second, but with 5 more products, ie ID 11, 12, 13, 14 and 15 are not inserted in products_2.
I need to "cop...