Posts by Marcelo Victor • 169 points
9 posts
-
1
votes1
answer83
viewsQ: Make the form send if only certain fields are filled in
When I submit the form it is checking if all fields have been filled. I want only name, email and phone to be mandatory for the form to be submitted. I have the following code <?php…
-
2
votes1
answer61
viewsQ: "Mask-image" property does not work in Firefox. Is there an alternative solution?
I am doing a project where I should apply a mask (PNG or SVG) on an image < img >. I’m using .svg-clipped { mask-image: url("../img/desktop_tds_hist.png") ; -webkit-mask-image:…
-
0
votes1
answer231
viewsQ: URL friendly redirects to index.php
I’m having trouble directing my friendly url to specific pages. When I click on authorized-resellers for example, it’s taking me to index.php I have the code vars.php <?php //var_dump($_SERVER);…
-
1
votes2
answers81
viewsQ: PHP form without email field
I would like to know a method to send a form who doesn’t have the field email. It will have only three fields: Nome, Telefone and Cidade. However, when sending arrives like this The code I have:…
-
1
votes1
answer1214
viewsQ: View confirmation modal after sending email
I have the following code <?php require_once('PHPMailer-master/PHPMailerAutoload.php'); PHP_OS == "Linux" ? $quebra_linha = "\n" : $quebra_linha = "\r\n"; //$emp = $_POST["empresa"]; $nome =…
-
0
votes1
answer78
viewsQ: Modal display when submitting form. No loading page
I have the code below. I would like to display a modal once I submit the form and if all fields are filled in. If any field has not been filled in it is already showing a Popover in the field…
-
1
votes1
answer267
viewsQ: URL Friendly: Fatal error: Cannot redeclare parse_path()
I have this code in a vars.php document to implement a friendly url: <?php //var_dump($_SERVER); function parse_path() { $path = array(); if (isset($_SERVER['REQUEST_URI'])) { $request_path =…
phpasked Marcelo Victor 169 -
2
votes2
answers865
viewsQ: Create octagonal border button using html and css only
I need to create a button with the edges in octagonal as in the example attached but did not succeed. I need you to have a white border and the background to be free so you can change color when…
-
5
votes4
answers3932
viewsQ: How to align 7 elements on the same line?
I’m developing this site in bootstrap http://raissafigueiredo.com.br/masterclinic/ However, downstairs in the specials section, I have 7 elements in the same line. I had to use a "technical…