I'm trying to create a PDO loop where I can choose the desired field to position it on the page. But the code I'm using is bringing all the fields in one go.
My code looks like this:
include("libraries/conn.php");
$sql = "SELECT
content...
I'm doing a repeat structure in Ruby using the following structure:
begin
[código]
end <while/until> [condição]
But RuboCop , which I use as a linting tool, says that I should use Kernel#loop with break . So:
loop...
Convert File Names To Alphabet Letters
For example , I have several image / photo files in a directory, and I want to pass these long names of their images into names designated by the letters of the alphabet
Before
IMG01-03082016.j...
I need to create a code that reads only a double and registers in two variables the "lowest so far" and the "largest so far", I can even successfully complete a cycle but after that it prints any value that I enter.
I tried some ways t...
I have a little trouble understanding while and I came across an exercise that asked me to do the following:
Read N sequences and find out how many 'f's' in each sequence. I can not use for on this issue.
My code looks like t...
I have a certain folder with several files, and these in turn, contains in its interior description of Cartesian X and Y coordinate points.
However, I want to replace these points automatically and dynamically, ie use while to run all...
I'm having trouble understanding this code, because I do not understand how it behaves in 'while' loops, it follows instructions after the code.
Obs1: I'm learning programming logic still, so
I'm "hitting head" with simple codes.
Obs...
I have 1 table with 1 list of modules, and I have 2 columns that have some options that can be chosen through select.
The issue is that the select's only loads the data in the first row of the table, the next comes out blank, I think that's t...
I'm trying to repeat a region however, although mysqli_num_rows indicates that it has 9 records, in the while nothing is coming. My code looks like this:
$qry = "SELECT
pe_orclinhas.id_orclinha,
pe_orcgrupos.grupo_orc...