Jump to content


  • Posts

  • Joined

  • Last visited


Posts posted by LiamProductions

  1. Hey.


    Help me please.


    Right. I have a div. and on mouseover i want it to change color. heres my code:



    <title> Test run </title>
    <link rel="stylesheet" href="./stylesheet.css">
    <div class="header" onmouseover="this.background='black'"><br /><h1>Test run</h1>



    body {
      margin-left: 120px;
      margin-right: 120px;
    h1 {
       color: white;
       margin-left: 30px;
    .header { 
    display: block; 
    background-color: 464642;
    height: 130px;


    Please help. maybe edit the code or something Thanks

  2. Hey,


    Im starting on C++.


    I've learnt a few things today.


    Like how to write a string, to include iostream, cin ... and stuff :)

    Its quite fun. I can't wait till i move onto bigger stuff.

  3. I've got Dev C++


    I went on a tutorial and it said to echo out something, It echoed it out but the problem is the program closed within a second of loading


    Any ideas why that happened?

    And where can i get some good tutorials?

  4. Hey.


    I was interested in starting C++ Programming.


    Firstly, Does anyone have links to tell me how to start up.


    Does anyone know what a compiler is and what it does?

    What are the file extensions with C++ ?


    2. Is there many sites that do C++ Programming tutorials like PHP does.




  5. oh right...


    Im not sure if this is what you mean?


    $name = $_POST["name"];
    $email = $_POST["email"];
    $person = $_POST["person"];
    $reason = $_POST["reason"];
    $today = date("d, M Y");
    $recipient = "millercj@etown.edu";
    $subject = "Prayer Request";
    $forminfo ="Prom: $name\nEmail: $email\nForm Submitted: $today\nPerson to add: $person\nReason: $reason\n\n";
    $sent = mail($recipient, $subject, $forminfo, "From: $email");
      header("Location: portal/requestsuccess.php");
      header("Location: portal/requestno.php");


    Try that you can only put where the document is in the header you can't put http://www.------.com

  6. Hey.




    How would i check if this string has a @ and a . in it? for example


    $email = "Yourface@lighthand.com";
    if($email has a @ in the string and has a . in the string) { 
       echo "This has more possiblites of an email than without them";
    else {
       echo "We could not tell if this is a email because there is no @ or dot";


    Point out the function or tell me how to do it :)


  • 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.