Posts by fabricio • 139 points
15 posts
-
0
votes1
answer455
viewsQ: use dynamic INPUT for database query
I have this script in html and jquery searching in the database what the user wrote in the input <div class="form-group col-md-8" id="dynamicDiv1" > <label…
-
1
votes1
answer281
viewsQ: When should I use meta tag keyword?
I must have a <meta name="keywords" content=""/> for each page of my site, or I can use the same for all pages ?
-
1
votes1
answer227
viewsQ: Function mouseout on icon
I would like when hovering over the search icon to load an input field. html <div id="navbar" class="navbar-collapse collapse pull-right"> <ul class="nav navbar-nav"> <li><a…
-
1
votes1
answer775
viewsQ: Pagination with friendly url
I’m using friendly url and paging, but if I’m on the page 1 and click to go to the page 2 nothing happens, but in my url is the correct path localhost/produtos/emagrecimento/pagina/2/ however and…
-
0
votes0
answers152
viewsQ: URL friendly does not load css when using . php
Good staff I am learning url friendly, but I came across an error that I can not find solution, if I access localhost/farmacia/contato the page is normally loaded without any problem, but when…
friendly-urlasked fabricio 139 -
0
votes1
answer296
viewsQ: php and email sending ajax
I am trying to send email from my page but it does not return me any message if successful or not, I am using php along with bootstrapvalidation and ajax to forward the information to my php page.…
-
1
votes0
answers622
viewsQ: Sending email with php and ajax
I am trying to send email from my page but it does not return any message to me if it was successful or not, I am using php along with bootstrapvalidation and ajax to forward the information to my…
-
1
votes1
answer1234
viewsQ: Inner John repeating data
I use a query using the Inner Join, only the problem is that it duplicates the results I have a table in mysql that is called produtos_destaque where the id_produtoDestaque is foreign key in the…
-
0
votes3
answers106
viewsQ: Limit dynamic fields in jquery
I have this function to generate fields dynamically, as I can by a generated field limit. $(function () { var scntDiv = $('#dynamicDiv'); $(document).on('click', '#addInput', function () {…
-
1
votes1
answer349
viewsQ: View database elements in the bootstrap modal
Good evening, I have a modal to display information about a product, until then I can display this data with this script $('a[data-target="#saberModal"]').on('click', function (e) {…
-
1
votes0
answers42
viewsQ: Limit the number of pages in the pagination
I have a pagination that displays many pages. I would like to know how I can limit this outcome. For example if the user is on the page [5] , I’d like you to show up [3][4] 5 [6][7] always two links…
-
0
votes0
answers30
viewsQ: Implement image resizing code on upload
I have this script that uploads my images: <?php if (isset($_POST['cadastrar'])) { $titulo = trim(strip_tags($_POST['titulo'])); $descricao = trim(strip_tags($_POST['descricao'])); //INFO IMAGEM…
-
0
votes3
answers68
viewsQ: Resize image with php
I am trying to put a php script to resize images dynamically, until then I had no problem. I have a folder that is saved the images that were edited by the script and the images arrive right, only I…
-
3
votes1
answer55
viewsQ: Problem in the pagination
I’m making a pagination. So far so good, but when I’m on the home page, it shows the results, everything ok. But when I click to go to the page 2, it only changes the last page result. example…
-
0
votes1
answer934
viewsQ: Receive id in modal to delete record
I have a page called produtos.php, where I list all products from my database, each product is on a table and each one has its respective button of details,edit and delete, I can pass the id for my…