Posts by adventistapr • 5,498 points
287 posts
-
1
votes1
answer91
viewsQ: How to leave search field prepared to search for any term
I have a register of textures where the code is composed of numbers and sometimes with letters, for example: Código: 2564 Código: C-6551 I would like to have the search field prepared to perform the…
sqlasked adventistapr 5,498 -
1
votes1
answer2857
viewsQ: How to add column in Mysql using SUM leaving column available for display
I need to add some columns in Mysql, use the sum to make an average and make the columns available for display in a report, I tried to make the sum in the query in Mysql but it did not work, I will…
mysqlasked adventistapr 5,498 -
6
votes1
answer392
viewsQ: Align text horizontally to image
I’m trying to align the text of some products in relation to image, but I’m not succeeding in what I’m doing, what I have is this: <div class="col-md-3 portfolio-item"> <a…
-
0
votes1
answer90
viewsA: How to open Fancybox above menu
I managed to solve the problem I had, I changed the following files: css style. header { position: fixed; top: 0; width: 100%; // ALTEREI AQUI z-index: 1000; transition: all 0.4s ease-in-out;…
-
0
votes1
answer90
viewsQ: How to open Fancybox above menu
I’m having a hard time opening one lightbox Fancybox the same is getting below my menu, I changed the position of the same, but I did not like the result, it became strange, but I could not leave it…
-
0
votes0
answers74
viewsQ: How to show informative message to user and follow flow for BD recording
I am having a difficulty that I am not able to solve, before registering an information in my BD I do a check to see if what the user is trying to do is allowed, in my case a given contract needs to…
-
2
votes1
answer1773
viewsQ: Handle Mysql error
I have an insert script and would like to be able to display a custom message to the user for the following registration attempt message for an existing record: Duplicate entry '42-1' for key…
-
2
votes1
answer1127
viewsQ: Sending and validating form with reCAPTCHA and Ajax
I am implementing on my website in the contact part a reCAPTCHA and the same already appears on the page correctly, but use Ajax for the sending and validation of the information and then began what…
-
0
votes0
answers465
viewsQ: How to disable Nav-tabs bootstrap with php
I’m trying to disable some nav-tabs that I have with an action in php, but I’m having trouble executing this action completely, until I was able to disable the nav-tabs with that code…
-
6
votes2
answers707
viewsQ: How to limit display of records to 30 days from today’s date
I wish I could limit the display of news that I have recorded in my banco de dados 30 days from today, for example: View registered news from 03/02/2016 à 02/01/2016, I tried to use some solutions I…
-
4
votes1
answer90
viewsQ: Query displaying less result than actually exists in export
I rode a query with a list resulting from a selection of checkbox made by the user, the list is with the correct values, as selected, but when checking the content of the result after consultation…
phpasked adventistapr 5,498 -
4
votes3
answers19347
viewsQ: How to align text to the right in a list
I’m trying to make a change to a code I have and what seemed relatively easy to me became a difficulty, what I have is this: <div class="top-bar"> <div class="container"> <div…
cssasked adventistapr 5,498 -
5
votes3
answers2208
viewsQ: Aligns navbar bootstrap text vertically
I’m using in my project two navbar and I’m having a problem aligning the text of the first menu vertically, I tried to create a structure to change but did not succeed, what I have is this: First…
cssasked adventistapr 5,498 -
1
votes2
answers196
viewsQ: How to Write Product Checkbox and Id to Mysql
I’m trying to record some checkbox plus the ID product in my database MySQL but I’m not getting it, what I have so far is this: The form: <input class="chk" type="checkbox" name="cores[]"…
phpasked adventistapr 5,498 -
2
votes2
answers525
viewsA: Leave options in menu total size
I managed to solve following the guidelines of this site: http://www.sitepoint.com/ The settings applied to my example were these: nav { width: 100%; background: #113066; } nav ul { overflow:…
cssanswered adventistapr 5,498 -
3
votes2
answers525
viewsQ: Leave options in menu total size
I am trying to leave the options of a menu that I have distributed according to the total size of the menu, I have been trying some possibilities, including in a post right here, but unsuccessfully.…
cssasked adventistapr 5,498 -
0
votes1
answer388
viewsQ: How to dropdown-menu by buttons independently
I have two dropdown-menu and need to access your information separately, for example: by clicking on the first display your options and likewise the second, I made the following attempt using the…
cssasked adventistapr 5,498 -
1
votes1
answer125
viewsQ: How to resolve soon being shown in half
I have a page where I’m positioning the logo of the company, the positioning is getting correct, but the same is being displayed cortado I’ve seen my css and I couldn’t solve it, what I’m doing is…
cssasked adventistapr 5,498 -
3
votes1
answer2261
viewsQ: How to resolve Uninitialized string offset error: 0 in
I am using Phreeze PHP to create a CRUD application but I am getting the following message when generating the application, the message is this: Uninitialized string offset: 0 in…
phpasked adventistapr 5,498 -
8
votes2
answers300
viewsQ: How to Resolve Fatal Catchable Error While Trying to Show Messages
I have a page where I check if the user has filled all the fields of a form but when trying to show the messages to the user the script returns me an error, I’m doing it this way: class SendEmail {…
phpasked adventistapr 5,498 -
6
votes1
answer1350
viewsQ: How to show message in contact post return
I have a contact form where I send the information entered to my BD, I would like to leave a message to the user after submitting the form and I am not succeeding, what I did was this: I have a div…
-
2
votes2
answers448
viewsQ: How to resolve loading part of the page in delay
The pages of a project I have are having a strange behavior, when being called an excerpt of the page is being loaded, apparently, late, the code is this: <div class="page-banner no-subtitle">…
-
1
votes2
answers6021
viewsQ: Validating Email with Jquery and Ajax
I own a form where I perform login to access a restricted area of my site, but now I need to validate the typed email, I tried to change the script that I currently have and have not been able to…
-
7
votes2
answers1906
viewsQ: How to leave a responsive . svg image inserted directly into html
I have an image of the map of Brazil in svg all mapped and when resizing my page the same does not follow this resizing, I have read some articles and tried some solutions and in none of them I was…
-
1
votes1
answer178
viewsQ: How to convert date at select time and return via Json
In my form I am using the Bootstrap-Datepicker so that the user can inform the desired date at the time of registration, works correctly, but at the time of making a change I am trying to bring the…
-
1
votes1
answer169
viewsQ: How to mount grid in Bootstrap 3 for small images
I’m trying to adapt a grid in Bootstrap 3 for small images with the possibility of the page being responsive, these images are inserted via form as .png and sent to banco de dados and in a specific…
-
1
votes1
answer231
viewsQ: How to keep header fixed without changing height when using scroll
On my page I have a header fixed at the top, but when I scroll the page and return to the top the header height is changed, I made some attempts, like removing that line, I deleted the…
-
3
votes3
answers29544
viewsQ: How do you get it in the headline?
I own a site where I use two headers to show my options to the user, but I came across a problem, I need to put the company logo and I’m not able to do it, I need the logo to be in a size…
-
4
votes2
answers71
viewsQ: Failure to compare dates before saving to the bank
I’m trying to do a date validation, if the date DataInicial is smaller than the DataAtual, that is, can not be retroactive the script should return me an error message with json_encode not allowing…
-
0
votes2
answers6627
viewsQ: Start Datepicker with current day
I have a record where I have two dates being: DataInicial and DataFinal, I’m using the DataPicker to insert both, as I can leave the DataInicial always with today’s date, I can’t allow retroactive…
jqueryasked adventistapr 5,498 -
2
votes1
answer466
viewsQ: How to use the same Bootstrap header for two different menus
I have on my page one header library bootstrap and in it I am using two menus but with the same calls, when resizing the page are displayed two icons but always calls the two menus, I would like to…
cssasked adventistapr 5,498 -
4
votes1
answer346
viewsQ: As always show search field
I have a form where I have a search field, this field is only visible when the user clicks on the image of the existing magnifying glass and the field is displayed a line below my layout, I would…
cssasked adventistapr 5,498 -
2
votes1
answer752
viewsQ: How to hide div when selecting radio options
As trivial as it may seem I’m having trouble executing this script, the problem I have is this, when entering a page I show a div with selected content from my database and this is being done…
-
1
votes1
answer230
viewsQ: Insert new columns with ID creation into existing table
I have a table called products, this table already has the fields necessary for its use, but now I need to include 4 more (four) columns in it, columns that will be the description of some ID s I…
-
0
votes2
answers5536
viewsQ: How to break page using mPDF
I would like to break a page to each generated document. I consulted the documentation but did not understand. What I got is this: $html = ob_get_clean(); ob_end_clean(); // Finaliza o fluxo…
-
0
votes0
answers88
viewsQ: Access error when calling login page - PHP Generator
Recently the locaweb did a maintenance on their servers and after that some pages of our hosting stopped working, I use a framework called PHP Generator for Mysql Website of the Framework Developer…
-
0
votes0
answers470
viewsQ: phpmailer error: Network is unreachable (101)
We were using phpmailer to send emails, but simply overnight the same is with a strange behavior not sending emails. The error that occurs: SMTP -> ERROR: Failed to connect to server: Network is…
phpmailerasked adventistapr 5,498 -
1
votes0
answers933
viewsQ: Print the contents of div with css
I got it with the help of Stackoverflow assemble a script for printing a document, now I’m with a second problem, the script opens the print page without formatting the css. I saw an example right…
jqueryasked adventistapr 5,498 -
3
votes1
answer5964
viewsQ: How to print the contents of a page with Bootstrap and Jquery?
I would like to add a Bootstrap button to invoke the printing of a page’s content, I got this example, but it works from a link, see: Example The code places the link at the top of the page, I also…
-
1
votes1
answer1136
viewsQ: How to batch update with PHP and Mysql
I have a file .csv with two columns, one with the id and another with the status of my product, I need to change these products to the status 0 (zero), ie inactivate them, but the quantity of…
-
7
votes1
answer726
viewsQ: How to insert returned value into form fields with jQuery?
Accurate, after consulting in BD insert returned values into fields of a form, as I will use these fields to make a change to the BD, the call to search is working correctly and is configured this…
-
-3
votes2
answers79
viewsQ: I’m not being able to assign values to variables
I am trying to assign values to some variables and am not succeeding, in calling a step function a parameter which I am receiving correctly, but try to pass this and another value as parameters I…
-
0
votes2
answers515
viewsA: How to validate drop-down with jquery-validation
Even trying to accept the reply of @Brunno, I ended up finding another solution to the problem I had and would like to post only as a tip to someone who might be interested, following the tip of…
-
0
votes2
answers515
viewsQ: How to validate drop-down with jquery-validation
I am trying to validate a drop-down list with jquery-validation and could not, I took an example and tried to adapt my need, I did this: The form that triggers validation: <form…
-
1
votes1
answer60
viewsA: Failed to attempt to delete record in database
I managed to solve, I changed the deletion script for one that I have working in another script and is now deleting, at the end, right after attaching the variables with bind_param() the commands…
phpanswered adventistapr 5,498 -
0
votes1
answer60
viewsQ: Failed to attempt to delete record in database
I am trying to delete a record from my database after deleting physical file from a certain folder, physical file deletion occurs as expected but the one from the database fails, what I did was…
phpasked adventistapr 5,498 -
4
votes1
answer928
viewsQ: How to show table in return JSON?
Accurate, when returning from an insert pass parameter to a page and load it into a div specific, I tried something like this: var formData = new FormData(this); $.ajax({ url: formURL, type: 'POST',…
-
4
votes0
answers286
viewsQ: How to upload with Bootstrap Dialog
I’m trying to adapt a script I have to upload with Bootstrap Dialog but I’m not succeeding, I wish I could use the same form that I already do some operations to maintain the development pattern, I…
-
0
votes1
answer24
viewsA: How to delete a Dialog from the data recording process
Eventually I managed to solve, I was with problems in my console.log and I could not see the error messages, I solved this problem and with a step-by-step I changed the way the registration was…
-
1
votes1
answer24
viewsQ: How to delete a Dialog from the data recording process
I have a legacy system of register control and the same is working perfectly in what concerns the recording of data in the database, but I’m trying to adapt the same and I’m not getting. The current…