Jump to content


  • Content Count

  • Joined

  • Last visited

Community Reputation

2 Neutral

About Zola

  • Rank
    Regular Member

Profile Information

  • Gender
    Not Telling
  1. I mean when the email is received from the website, it is very plain and out of alignment. I am not sure how to make it look better and at least be aligned.
  2. Hey folks, I have built a larger contact form.. however, when the email is delivered it looks pretty bland and ugly, and also has weird indents. Here is my code: <?php // check if fields passed are empty if(empty($_POST['name']) || empty($_POST['email']) || empty($_POST['companyname']) || empty($_POST['message']) || !filter_var($_POST['email'],FILTER_VALIDATE_EMAIL)) { echo "No arguments Provided!"; return false; } $name = $_POST['name']; $email_address = $_POST['email']; $companyname = $_POST['companyname']; $position = $_POST['position']; $phone = $_POST['phone']; $description = $_POST['description']; $registration = $_POST['registration']; $address = $_POST['address']; $message = $_POST['message']; // create email body and send it $to = 'xx@gmail.com'; $email_subject = "Contact form submitted by: $name"; $email_body = "You have received a quote request. \n\n". "Here are the details:\n \nName: $name \n". "Email: $email_address\n Company: $companyname\n Position: $position\n Contact Number: $phone\n Business Description: $description\n Registration Number: $phone\n Message: \n $message"; $headers = "From: xx \n"; $headers .= "Reply-To: $email_address"; mail($to,$email_subject,$email_body,$headers); return true; ?> Can anyone advise how I can get it all lined up first of all please? I would also like to add some basic styling to make it a little more impressive. Any help much appreciated.
  3. Hey folks, I have built a site in wordpress that has a video background on the homepage. It takes up basically the full screen. However, I have been advised to add a 'scroll down' visual aid to the corner to tell the user to scroll down. Are there any plugins available that can do this?
  4. Figured it out! needed to add color: #ff0000 !important; co to bootstrap css file
  5. Hi folks, I am helping a friend with a site, but we are having an issue keeping a selected menu item highlighted on this one page site. https://bootstrapmade.com/demo/Knight/ CSS hacking the Active class doesn't seem to be the right thing as it only does what we want when its clicked, but not after. Any ideas as to what I need to do? Any help is greatly appreciated. Thanks
  6. Zola

    Job title

    What if you do both, in one environment ? haha I guess it is correct, but wouldn't mind making it sound better
  7. Zola

    Job title

    Whats a better title for a Web & Print designer?
  8. Hey all I have been building sites for a long time and I am pretty confident in modern frameworks like Bootstrap etc. I have played about with JQuery Mobile and UI. I know how to make mobile sites from a front end side. I understand that I can upload my site to PhoneGap and turn it into a native app. However, I would love to know how to make useful apps that dont just display static text. E.g. using things like Google Places API. I know how to make mobile sites easily enough that display info. I just don't really understand how to link that up with dynamic data from APIs etc. How to feed that content back to the user. For a vasic example, say I wanted to have a simple app that had a search box. You enter 'PIZZA' into it and it comes back with a result of all local pizza spots. How would I do that? If someone could point me in the right direction for where I could experiment with this I would be really grateful .
  9. Bump, any help would be really appreciated :s
  10. Hi all I have a small issue with a site I am building. For the main menu I use an SSI for ease of updating every page at once. When the user clicks an item and goes to a page I want to have that option in the menu highlighted / different colour, to show what page they are on. This works perfectly for single menu items like this: <li <?php if( $page=='index') echo 'class="active"'; ?> ><a href="index.php">Home</a></li> I use $page in the respective page HTML and it links up to the menu. However, some of the options have drop down menu items. I would like to highlight the top level item on the menu even when a sub section item is selected. In its current state the drop down menu item is highlighted, but not the top. <li <?php if ($page=='ci') echo 'class="active"'; ?>> <a href="ci.php" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown">CI <i class="fa fa-angle-down"></i></a> <ul class="dropdown-menu"> <li <?php if ($page=='ci1') echo 'class="active"'; ?>> <a href="ci.php">xxxx</a></li> <li <?php if ($page=='reasons') echo 'class="active"'; ?>> <a href="reasons.php">xxxx</a></li> <li <?php if ($page=='small_faq') echo 'class="active"'; ?>> <a href="small-faq.php">faq</a></li> </ul> </li> Even when I change the sub levels to be the same as the top level, the top level item will not change colour. I have no idea why. Can anyone see what I am doing wrong?
  11. A few friends of mine run a little competition between ourselves for a bit of fun. This has been in the past, a sports prediction spreadsheet where we predict the outcomes of champions in various football leagues around the world. Up to now its always been a very laborious spreadsheet with that my friend can no longer be bothered to do. is there any way I can do this in php / html? There would be 8 players predicting the outcome of 6 leagues. We award points for who gets the most, half points for coming close etc. Any ideas as to what way to approach this would be appreciated. I amvery proficient in HTML and CSS, but a bit of a novice in PHP......but if there is a script or some idea to get this up and running I would be very appreciative. Thanks
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.