Good morning, how can I make the radiobutton selected according to the database, I have a table in the bank with the categories being listed in a foreach on the radiobutton, until the beauty, it works to insert, but at the time of edit I need a...
I need to put a layout in the search results of the input search, I have a page that uses the layout of Cards of bootstrap 4, and I wanted the search results to look the same. This is the script I use in the layout of my other page:
<div cl...
I've been seeing the documentation but it's not clear how I do it.
I have an array of strings:
$remetente = $con->real_escape_string($_REQUEST['rem']);
$arrai= array();
$remetenteArray[] = str_split($remetente, 1);
As you can see, $re...
I would like to know how to run the entire array with ForEach only:
$Marcas = array(array('Fiat', 'Volkswagen', 'Audi'),array('Yamaha', 'Suzuki', 'Honda'),array('Samsung', 'Motorola', 'Apple'));
I have a script to do multiple upload files in php. At the time of uploading, he wanted him to insert into the photos table the information with the names in that format: "name1.jpg | name2.jpg".
The query I use to insert is this:
INSERT IN...
Why does an error occur in executing the code below if I remove the break? The value of the ArrayList client is not updated every time it completes the?
for (Cliente cliente : clientes) {
if (identificacao==cliente....
I am new to programming and am trying to solve my problem with foreach ...
I have a foreach that returns me the groups of photos that have photos in them ... however I need to get the first group that the foreach find photos and apply the che...
How can I generate with php this array to make a payment transaction for the Pagseguro?
$params = array(
'email' => $PAGSEGURO_EMAIL,
'token' => $PAGSEGURO_TOKEN,
'credi...
I would like to return two values in a foreach , can you help me?
For Each item In Funcao()
teste1 = gostaria de pegar aqui o resultado 1
teste2 = gostaria de pegar aqui o resultado 2
Next
Private Function Funcao...