Rebuilding the programmer here, I'm having trouble with SQL and I'm asking for help.
I have two tables called orcamentos and clientes .
I need to select all fields from the orcamentos table and only the nome...
Good morning,
I need to pull data from the database,
but wanted the user to choose from which data what value to search.
My code html :
<head>
<title></title>
</head>
<body>
<form method="POST"...
Hello.
Home
I have a select
<div class="seletor">
<select name="numeros" id="numeros">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3"&...
The product code I pass into the sql via php.
For example $ cd_product = 2; I would like to list everything but the record for this product (cd_product! = 2).
So far so good.
But I would just like the records of the table (product_table...
I have an online table with about 3 thousand records. I make twelve selects to list the results per month, eg:
select count(campo) from tabela where extract(year from data) = 2016 and extract(month from data) = 1;
select count(campo) from tabe...
I'm trying to make a page with html + javascript, but I do not know anything about php ...
Anyway, my doubt is this!
I have created a checkbox, and when the user selects that option, I want to change a text ... But I can not identify which optio...
I am doing a query in the database and have to return the table from such index. for example:
| ind | value
| 001 | AAA
| 002 | BBB |
| 003 | CCC
| 004 | DDD
| 005 | EEE |
| 006 | FFF |
| 007 | GGG
| 008 | HHH |
I would have to ret...
Personal help please,
I need to make a select in a table that contains ID, VALUE, DATE, NAME.
The result has to bring only the lines where the date was the largest one.
Example:
ID VALOR DATA NOME
1 100 22/05/2...
I'm trying to retrieve data from a table inside an input where the user can be updated and save to the same table through UPDATE. I was able to do the UPDATE, but I edit the data by input and send, it saves in the right bank, but when I refresh...