Good night, I need to receive a string via POST, and break it into keywords, but it is possible for the user to separate words in three ways: comma (','), empty space or comma followed by empty space (',').
I'm thinking of using the split ()...
I have a query that returns me the hits of the user who just logged in. I need to turn them into an array and store them in a session and a cookie. Here is the code:
//ARMAZENA AS PERMISSOES DO PERFIL DO USUARIO
if($sql_permissoes->rowCount...
Good night, my goal is when to go back to the products page, and go back to the cart, holding the session variable and also fill the cart page with more products each time the array receives a new one as it is generating one product only. Thank y...
Live, good night
I'm working on a C # solution, in which I have to develop a schedule and I plan to show the events (if any) at a certain point, as well as show the following 7 days, even if they do not have marked events. >
I developed a m...
I have this question:
Write a function that receives a tree and an id and returns a vector with the path ids from the root node to the node passed as a parameter.
int[] caminho_arvore(Arvore a, int n);
Examples:
Tree to:
caminho_arvor...
I'm using the PostgreSQL and Python database to query it, I have the following modeling:
I'mtryingtomakeaquerythatreturnsallOrderItemsofaOrdertoaarray,forthisImadethefollowingcode:selectARRAY(SELECT'('||translate(string_to_array(x.*::"text",...
I want to convert an integer from the DB into an Array, for example:
I have the number of deliveries registered in the DB, let's assume that the 'x' production is completed in 5 deliveries.
this number 5 is entered in the DB as a String, a...
I'm doing a mine field so I have to add an array of buttons on a panel (to be the houses). I created the array of buttons and added each [x] [y] button to a panel. But I do not know how to retrieve the click on a given [x] [y] button inside my a...
Every time I select a bundle, I add in an array, example:
Items are some data that I get, I just passed a few to test
var items = [755, 20, "E", 274]
$scope.selectBundle = function(){
var info = {
cod: items[3],
bundl...
It is possible to transform a javax.persistence.Query into ArrayList .
I need to return an object of type Query but can not have all result values.
I want to delete some results based on some tests, the code is below.
I...