Posts by M. Victor • 171 points
12 posts
-
0
votes0
answers80
viewsQ: Insert only the values of the selected checkboxes with their respective amounts into the Query String
I’m having a small problem in mounting a Query String with the variables I need. Well, I have the following code part: echo "<form class='acrescimos'>"; foreach($conexao->query($sql2) as…
-
3
votes2
answers1591
viewsQ: Get values of selected checkboxes and their respective prices
Well, I’m developing an online ordering system, initially just for learning purposes, only that I came across something that I have absolutely no idea how to do and would really appreciate any kind…
-
3
votes1
answer130
viewsA: Get input value from selected Row
After researching and studying, I was able to solve my problem using jQuery and inserting the matrices inside the SESSION. I’ll post the code here so that in the future I can help anyone who goes…
-
0
votes1
answer915
viewsQ: Show products by category parameter in a more optimized way
Good evening! Well, I’ll explain what I’m trying to do. I have a table in my database that corresponds to the products and I have a page that shows these products. It happens that one of the…
-
1
votes1
answer130
viewsQ: Get input value from selected Row
Hello! I will try to explain my purpose in the best possible way. I started studying PHP a little while ago, I am doing a registration system and buying products only for learning, but I am facing a…
-
2
votes0
answers186
viewsQ: How to use Hasmorepages on this occasion?
Well, I have a printing system here that is working perfectly. The problem I am facing is regarding the use of bool HasMorePages. I’m not sure how to implement it to print multiple pages if the…
-
4
votes1
answer709
viewsQ: How to print the entire string if the length exceeds the page
I have to print one string which may vary in size. What I need is that if this string does not fit on the page the remaining text is printed on another. I know that for this I need to do something…
-
1
votes1
answer302
viewsQ: Insert tab when printing
I have a code to print each variable of a List. I am trying to insert a tab into these variables. Take a look at my code that is in the event printPage: int charactersOnPage = 0; int linesPerPage =…
-
1
votes1
answer6384
viewsQ: Adding values present in a List
I’ll explain what I want to do. I have this List: public static List<Cliente> Clientes = new List<Cliente>(); public class Cliente { public string Nome { get; set; } public…
-
1
votes1
answer112
viewsQ: Print matrices with line break
I want to print the various variables of a List. I’m trying to use foreach but it hasn’t worked. Variables are written over each other instead of a line break. Look at my code in the event…
-
0
votes1
answer720
viewsQ: Adding more than one string to a List
I have a customer registration system and I am trying to add products to registered customers. For the registration list I have the following: public class Cliente { public string Nome { get; set; }…
-
0
votes1
answer598
views