Posts by Leonardo Silva • 469 points
23 posts
-
5
votes7
answers11400
viewsQ: How to validate phone in php
I’m trying to validate the phone number, both landline and mobile, and I’m trying to do so no matter how the user writes: 11965453789 (11)965453789 (11) 965453789 (11) 96545-3789 It will always save…
-
0
votes0
answers3820
viewsQ: Validate password with confirm password
I am trying to validate my password more accurate that is identical to the password confirm field, I am validating in php and using ajax to show error if the input value is incorrect. I have tried…
-
2
votes1
answer1631
viewsQ: Form validation php and ajax
Sorry if the question is silly, but I don’t know much about ajax and I’m trying to make a basic form to test the validation using ajax and php (if possible). Good reading on the internet and seeing…
-
4
votes1
answer43
viewsQ: Width caculum with jquery
Hi I’m making a test site and I have a div of promotions with width of 100%, a ul with 100% width and 4 li with the products. When you are more than 4 li, I want my div promotions to…
-
0
votes1
answer811
viewsQ: Shopping cart sql, php and ajax
I am making the shopping cart and would like to know if I should save the products that the user is buying in a table or not, which logic to always show the right product to the right user? I know I…
-
0
votes0
answers275
viewsQ: z-index google Chrome error
Google Chrome is having error in the z-index of my css, I put a jquery slider plugin and it was above my menus, so I changed the z-index to change the position, only in firefox and safari works…
-
1
votes2
answers186
viewsQ: Taking image from Mysql
I’m making a website in PHP and MySQL to store the products and their image. On the products page there are 5 or more models and I need to pick up 5 or more images of each product. I don’t know if I…
-
0
votes1
answer210
viewsQ: Submenu bearing(scroll) jquery
Hi I need my submenu scroll to appear the other options pq when opening does not fit on the page, and neither in the tablet and mobile layouts. I’ve tried using css overflow-y and more is not…
-
0
votes1
answer35
viewsQ: Pseudo selectors css
I need to use two pseudo selectors in the same css type ul li:Nth-Child(4), but I have a submenu with another ul and end up focusing on the two ul, I need you to change only the first ul, I’ve tried…
-
0
votes2
answers579
viewsQ: removing li using jquery
Hi I’m making a responsive site and I came across a problem, the desktop layout between the menus has the logo, but for mobile does not have the logo. As the menus are in a li, I wanted to remove…
-
0
votes1
answer176
viewsQ: Changing html hierarchy using jquery for responsive website
I’m making a responsive site when I came across a problem, in the tablet layout the menu is hidden so when you press the button it appears making a slide, but the customer wants the logo to appear…
-
3
votes1
answer1666
viewsQ: Looping jquery setInterval
I’m doing a slider and I need that when the images finish passing, they start again but I’m not getting it. Someone could help? JS $(function(){ // Buttons Hover Effect buttonsHover(); function…
-
1
votes2
answers182
viewsQ: Full screen images
How to place 2 images or more side by side, occupying 100% of the page? @charset "utf-8"; * { margin: 0; padding: 0; } .galeria { background: #FFFFFF; width: 100%; height: 768px; display:…
-
4
votes2
answers541
viewsQ: Is there a list of all properties that need prefixes?
I have a question about CSS: To run in different browsers you need to use the prefix before the property, for example: -webkit-boder-left-rarius: 3px;. But which CSS Styles as border, margin,…
-
1
votes0
answers107
viewsQ: Flash, javascript and Html5 canvas
Hi I slider in flash player with Html5 canvas and published now I need to put it inside the div of my file but I’m not getting, the screen turns black when I replace the html file made by flash, and…
-
1
votes2
answers10368
viewsQ: Show and hide input for javascript search field
Hi I’m doing the search bar of the site and the model of the bar and like this: has an image of a magnifying glass and when you click on the image, below it appears the input to type the search. I’m…
-
-2
votes2
answers729
viewsQ: How to organize PHP and HTML code to make an e-commerce?
I’m doing an e-commerce and I finished planning the site. The site will have to be registered before buying the products, which will be made using Paypal. My question is: I do the pages with login…
-
0
votes1
answer944
viewsQ: Calculate total cart in php
I’m with a question I made a shopping cart and the freight calculation using the webservice from the post office. Now I need freight to add to the total amount more I’m not getting.Someone could…
-
4
votes1
answer812
viewsQ: Higher value in an array in PHP
I’m having a problem finding the highest value of the box width of the products for shipping a site I’m doing. I put the data of the products with the size of the boxes in the database and I am now…
-
1
votes0
answers70
viewsQ: Sum PHP and higher number
I’m trying to work out a freight system for a company but I’m having a problem. So,: the freight itself is calculated by the Post Office system which access through an API; I have already done…
phpasked Leonardo Silva 469 -
2
votes0
answers303
viewsQ: Freight calculation
I’m trying to work out a freight system for a company but I’m having a problem. So,: the freight itself is calculated by the Post Office system which access through an API; I have already done…
-
3
votes2
answers70
viewsQ: PHP parametric functions
I am new in php and I am creating a comparison of box sizes, and for that I would like to put inside a function more I do not know which parameter to put inside the relatives of the function.…
-
1
votes1
answer264
viewsQ: Cart php quantity
I have a cart made in php and the products are in the database, as I do to put a restriction on in a particular product for example: Product number four in my database, I want it to be only 100.…