Good afternoon friends and colleagues.
I have the following code that gives me:
Warning: mysqli_fetch_object () expects parameter 1 to be
mysqli_result, boolean given
Can you help me?
function login($u = "", $c = "", $forzar = fals...
I need help on how to INSERT data from a DataTable to an SQL table. The code of my DataTable is as follows:
public DataTable dtDetalle = new DataTable("Detalle");
public DataTable filldata()
{
dtDetalle.Columns.Add("idProducto", Type.GetT...
I'm doing a form that takes information from a mysql database and php shows it in a form with checkboxes, my question is this:
How do I save each selected row in an array?
This is the code that creates each row of the form:
while($row =...
First of all sorry for so many questions that for many of you must be insignificant things I imagine, (apprentice mistakes say)
The subject is like this: I have properties, each property has date ranges (start date and end date) I did the follow...
I have the following query in sql sever 2014
CREATE TABLE #TEMPTABLE
(
ID INT,
DATACOLUM VARCHAR(5)
)
INSERT INTO #TEMPTABLE VALUES
(1,'A'),(1,'B'),(1,'C'),(2,'D'),(3,'E'),(4,'F')
SELECT
TB.ID,
STUFF((SELECT ',' + D...
I have a table plazas with the attributes NUMPLAZA , OCUPACION , IDusuario
I want to change the value of OCUPACION to OCUPADO using the following query from php:
elseif ($row['Cargo'] == "directivo2") {...
I have a column called NOMBRE . In this there are three patients called "Juan". What I want is to distinguish them by adding a number followed after their name. Something like this:
Juan1
Or if there were 30252 records called Juan, pu...
I have a problem with an sql query with php, I need to calculate the total of units sold by vendor, I am limiting the number of records to show because the database has hundreds of records, and I am just trying out the query.
But when making...
Good! I come here with a small question: How exactly could a query be written using a Like and be parameterized? I'm using UcanAccess with JAVA.
I have a window in my program that requires the use of Like. Try first by writing it "normal" i...
For several days I have tried to connect to a DBISAM database but I have not managed it, download and install odbc driver and I do excel tests and it works perfect but when I try PHP it gives me an error, this is the script I'm using:
<?php...