Posts by adventistapr • 5,498 points
287 posts
-
1
votes1
answer85
viewsA: Read phpMyAdmin column
The big problem I was having was that I was not able to store the records after using the explode, as I had been doing a lot of testing on this page I ended up forgetting to make a loop to scan the…
-
2
votes1
answer85
viewsQ: Read phpMyAdmin column
I was able to separate some values from a column in a table in Phpmyadmin through some tips and I did this: mysql_select_db($database_conexao, $conexao); if ($dep != "" and $sub != "") {…
-
3
votes1
answer315
viewsA: How to adjust navigation arrows
Following the suggestion I made the necessary changes and I put the modified code as a response duly commented on the points where the changes were made. /* Setas laterais dos thumbs */…
cssanswered adventistapr 5,498 -
6
votes1
answer315
viewsQ: How to adjust navigation arrows
I need to adjust navigation arrows of a page I have, but all the changes I make I can’t get it right, I need to initially make them bigger and set the size as 36px for 34px, the size was correct,…
cssasked adventistapr 5,498 -
2
votes2
answers231
viewsQ: Read phpMyAdmin column with multiple records
I have a table in phpMyAdmin with a field that stores several values, the column is named id_subfilter, I need to read each value of this, because the same are id s that are related to another table…
-
4
votes1
answer407
viewsQ: ASC and DESC sorting without losing variable value
I am trying to perform a sort of records on a page by firing a List/Menu, but by firing the same I am losing values of variables from a first selection. When entering the products page I already…
-
0
votes1
answer74
viewsQ: Text size in div
I have a text inside a div and it does not go to the end of it and I would like that to happen, the text is the one that is positioned to the right of the page next to the larger image. I created a…
-
2
votes1
answer511
viewsQ: Let centralized Bullets and right and left navigation arrows in slider
I am unsuccessfully tempted to let the navigation Bullets centralized and the navigation arrows on the right and left side of the slider, as much as it changes the css settings do not succeed. This…
-
-1
votes2
answers102
viewsQ: Search in related table
I have a search script that scans up to three fields of a table called products, now I need to do a search in a table called brand, the product table has the id_brand that relates to the brand…
-
-2
votes1
answer1219
viewsQ: Insert foreach value into a variable
I am trying unsuccessfully to create a variable with the foreach variables for database insertion, the values are checkbox marked, I am trying this way: // buscando os produtos foreach…
-
1
votes1
answer66
viewsQ: Image positioning
I’m having a problem positioning images on a website that I’m developing. Some of them apparently aren’t fitting into a line, in which case, I’ve positioned four per line. I made some attempts,…
-
1
votes1
answer1083
viewsQ: How do you get two Ivs to be the same height even if they have different content sizes?
Hello, How can I leave a <div> with dynamic height, that is, when the <div> with the content of the products grow the <div> that contains the menu also grow together, getting both…
-
2
votes1
answer1487
viewsQ: How to search a term in more than one table field
How do I search for a term in more than one table field in Mysql? For example, I have a website of a furniture store and the customer can search for the term "chair" and this term is in the fields…
-
-1
votes1
answer139
viewsQ: Insert images into database
Good afternoon, I entered a lot of information in a table in my database through a file. csv using the LOAD DATA INFILE command line and I also have a relationship table where the product ID and the…
-
10
votes4
answers1502
viewsQ: How to make a layout ready for all resolutions
I know it sounds confusing, there is some way for a layout to be "prepared" to be responsively visible when the customer resizes the browser and to any device?
css3asked adventistapr 5,498 -
1
votes2
answers547
viewsQ: Foreach - check and record only those not in the BD
Inside a foreach I need to make an Insert in my database only of the records that are not recorded, thus avoiding duplication of records, but I couldn’t imagine a solution to check if a record is…
-
0
votes1
answer720
viewsQ: Insert selected records into another table
I need to export data from a table I have in our intranet to a table on the internet, I created a table where I show the events and in this the user can choose the ones that want to export through…
-
-3
votes1
answer147
viewsQ: Always keep the same name as a PDF file on upload
How can I keep the same name of a file at the time of upload, for example if the person chooses a file with the name spreadsheet.pdf I can always save it with a fixed name, as a.pdf document, today…
-
0
votes1
answer728
viewsQ: Query $.get json and show result
I am sending an array for a query in a Mysql database via $.getJSON and in php I am mounting a table, but I am not being able to return and display this table, how can I do this? My code that sends…
-
2
votes1
answer3036
viewsA: Displaying dynamically created table records
I renewed my query by mounting and displaying the table in a different way, because I could not solve the problem of displaying the data from the previous one. // Consultando candidados no banco…
-
0
votes1
answer3036
viewsQ: Displaying dynamically created table records
I set up a dynamic table with data from a query to Mysql, when I show all the records the table is displayed correctly, but when I request only one record the table does not display any record, see…
-
0
votes1
answer174
viewsQ: Send select to print with php
I need to dynamically create a table with "n" lines and then send this table to print, but not succeeding, the construction of the table is like this: // laço para buscar e-mail e efetuar envio…
-
2
votes2
answers767
viewsQ: Take data from Forms
How can I get data from all the existing Rms on a page? I have a form with the name "orcamentos" that I can send the fields but I have at least three more that are inserted via include and the…
-
3
votes2
answers127
viewsQ: Accent in comment field
I need a help for a situation that seemed simple, I have a form with a comment field and when sending this comment by email the same appears all disfigured, I’m using the phpmailer. The code page on…
-
1
votes1
answer871
viewsQ: Recover parameter sent to a modal and perform Mysql query
I need to recover parameter sent to a modal bootstrap, perform a query in the database and show result in a text field for the user, what I have is this: Sending the parameter to the modal <i…
-
1
votes1
answer140
viewsQ: Do not resize image
I am sending my server via php script an image with original size 1000px wide by 350px high but the same is being resized to 800px wide by 280px high and I would like it to remain at the original…
phpasked adventistapr 5,498 -
1
votes3
answers2000
viewsA: Pass checkbox list to php
Follow how my code was according to the suggestions received. function SelecionaChecks() { var checked = []; $("input[name='check[]']:checked").each(function () {…
-
2
votes3
answers2000
viewsQ: Pass checkbox list to php
As I can pass to a php page a checkbox list selected, I have this that shows me the checkbox, but I’m having trouble sending them to php. function SelecionaChecks() { var Check =…
-
11
votes7
answers57425
viewsQ: Check/Deselect Checkbox from a button
I would like to use a button to mark/uncheck checkbox. I have this button that calls a function, look: <button class='btn btn-large' type='button' title='Todos' id='todos'…
-
2
votes2
answers474
viewsQ: Mount query for database query according to checks marked
I have the following situation, the user can select the language level, as: Basic, Intermediate or Advanced and I have it in checkbox form. I need to assemble a dynamic query according to the or…
-
0
votes4
answers713
viewsA: Search from between dates
After help from many, I will also leave my collaboration, I did it in a simple way and may also help someone, see: select * from candidato WHERE (YEAR(CURDATE())-YEAR(candidato.dt_nascimento)) -…
-
4
votes4
answers713
viewsQ: Search from between dates
I need to search in my Mysql age of some registered collaborators. I have the field dt_nascimento and I need for example to find collaborators who are between 20 and 30 years old, how can I do this?…
-
2
votes1
answer344
viewsQ: Show options to customize budget
I need to show the user the possibility to customize a budget, but I’m not able to show the options, only works the first, I’m using this code within a while php. What I got is this: THE HTML…
-
0
votes1
answer563
viewsQ: How to invoke bootbox.js after recording data in BD
How can I show a message box using the bootbox.js after writing to the database redirecting the user? I did a test with the following script, but did not succeed. if($execCurso){ ?>…
-
0
votes1
answer453
viewsQ: List/Static menu showing database option
I wish I could understand a problem I have here. I created a static list/ menu, but I need to leave marked option saved in the bank, when I have a table that allows me the relationship I do cool, as…
-
-1
votes3
answers610
viewsA: Reload after update
The solution to my problem was this: $.post(url, parametros, "json").done(function(resposta) { $el.parents('li').load(); }); Tip given by mgibsonbr. Thank you.…
-
4
votes3
answers610
viewsQ: Reload after update
I am making a status change in my database using $.getJSON, is working, but in return I need to update the div where the data is and I am not able to perform this task, see the code below:…