Jump to content

Ashley Webb

  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About Ashley Webb

  • Rank
  1. Thanks Don E, You are right! Added: $from = $_REQUEST['email'] ; Brilliant!
  2. Hi, No it IS sending this: (customer fills out form and it sends it off to x@yz.com) $to = " xyz ";$subject = "Enquiry from www.reclaimed-antique-wood-flooring.com";$email = $_REQUEST['email'] ;$message = $_REQUEST['message'] ;$headers = "From: $email"; and it IS doing this: (redirecting visitor to xyz depending on input, after submit is clicked) if($email == ''){header( "Location: /contact-us/no-email-address" );}else{if($message == ''){header( "Location: /contact-us/no-message" );}else $sent = mail($to, $subject, $message, $headers) ;$sent2 = mail($from, $subject2, $autoreply, $headers
  3. Hi, I'm very new to the html game and have made a very simple website for a friend. On the contact page I have a very simple message submitter which works fine barr one fault. It sends the message including the headers but it does not send an automatic repsponse. It is set at the moment to send the message to my email adress so feel free to play. Could someone please take a look at it: a<?php$to = " xyz ";$subject = "Enquiry from www.reclaimed-antique-wood-flooring.com";$email = $_REQUEST['email'] ;$message = $_REQUEST['message'] ;$headers = "From: $email"; $autoreply = "auto repsonse her
  4. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>Holiday Caravan on Anglesey | David & Katie Richards</title><link href="/styles/homepage.css" rel="stylesheet" type="text/css"/><meta name="norton-safeweb-site-verification" content="6vxtxsru9l58sc8xmg1p1huy-uaazfq124q2tx8xum569z8bfru6kwnfzg35yqoq5v3w820wvefblcd-wptuwomu7x7eb70br47q8byhbusbadlm9v7dv5ouz0
  5. I thought it was a good idea but I think unwrapping the content has messed the styling of the content in chrome... Also, when I first go to the homepage, half the css is not applied, then when I press refresh it's fine. That happens in all browsers. Does anybody know why? Thank you in advance.
  6. Good evening dsonesuk and darkxpunk! I have removed every case of position relative, with top, left and used padding instead and have 'unwrapped' all block elements and styled the content instead as suggested by dsonesuk. I used the basic html structure as suggested by darkxpunk and used overflow:hidden without defining height on anything. Thank you very much for your css. Between you you have taught me exactly what I wanted to learn and some useful advice I didn't know I needed to know! Please take a look and see if you have any further suggestions and check that I have grasped what you sugge
  7. Thank you very much to dsonesuk and darkxpunk! I'm guessing that the idea here would be for me to copy and paste the code supplied. It is incredibly tempting to do so but doing so would be an admisiion of failure on my part. I probably wouldn't learn anything either! Again, thankyou both for taking the time to code that up for me, it is appreciated and I hope neither of you mind me working out what you have done and why it is better, then implementing that which I understand! I dont want to you to take a look at the site and be offended that I haven't copy and pasted your code! I got my wrist
  8. I've left out altogether and that messes things up!
  9. http://www.holiday-anglesey.co.ukhttp://www.holiday-anglesey.co.uk/styles/homepage.css
  10. I chnaged my first div to a class. I changed the height to 100% and it made my div a whole page high.
  11. Thank you friend! I remember something about classes when I read my first 'learn html and css' book. I never conisdered what it is and the difference between id and class. I've had a quick read up and it seems to be just what I needed to know! Thankyou very much. I will get back to you once I have made classes and if your height solution works for me!
  12. Hi, I am a complete amateur, self taught at that. I registered on this forum ages ago in a moment of weakness. I try to work things out without asking for the answer, I like to learn instead of having it on a plate. Right now is one of those moments of weakness. I have made my first webpage from scratch (notepad++). I did it this way because I fancied a challenge. I soon relaised that if I was to learn a function or two of php I could knock out the sub-pages alot faster. I changed my page to index.php and have thus far only called the header. I'm working my way down... As it stands, my site is
  • Create New...