1. This website uses cookies. By continuing to use this website you are giving consent to cookies being used.
    For information on cookies and how you can disable them visit our Cookie Usage page.
    Dismiss Notice

Websites php tutorials are almost ready

Discussion in 'Reviews' started by bmcoll3278, Oct 10, 2009.

  1. bmcoll3278

    bmcoll3278 New Member

    hey every body.
    I almost have the free tutorials section ready to go on line.

    I am not asking anyone to go to the site yet but please can you post here any php tutorials you would like to see. I will work on them and let you know when they are ready.
    Thanks
    Brian
     
  2. bmcoll3278

    bmcoll3278 New Member

  3. Scoooooty

    Scoooooty Member

    Simple php contact forms always come in handy
     
  4. bmcoll3278

    bmcoll3278 New Member

    Great idea thanks That will be next.
     
  5. stadulgra

    stadulgra Banned

    Cheers!
    Valikie
    Out of the many posts, this one attract my attention. I believe it is possible for anyone to participate.
    Excellent ! I like it very much.
     
  6. bmcoll3278

    bmcoll3278 New Member

    Thats great but tell me what kind of php tutorials you want to see.
     
  7. Jiggles

    Jiggles Member

    Wouldn't it be good in you Maths Calculator script instead of escaping the " you end the PHP before the HTML and then start it again so its easy enough to see and edit (For the life of me I cant remember what its called!) plus people get used to the idea of it and how it works and life is nicer when working with loads of HTML. :D
     
  8. bmcoll3278

    bmcoll3278 New Member

    In my scripts I do start and stop the php instead of escaping the stuff in html.

    I will show that method in another tutorial But I want to let users see how it is done this way first.

    I still need ideas on future tutorials come on guys give me some ideas please.

    I will have the tutorial on a sendmail script very soon.
     
  9. bmcoll3278

    bmcoll3278 New Member

    ok some one asked for a sendmail or contact form script so here it is.
    tutorial 2

    Here is the basic script But please check out the tutorial and give me your opinion .
    Code:
    <?php
    //the info posted from the form
    $ad=$_POST['sendto'];
    $url=$_POST['subject'];
    $email=$_POST['from'];
    $message = $_POST['message'] ;
    //done getting info
    
    
    if (isset($_POST['sendto'])){ //CHECK TO SEE IF WE NEED TO DISPLAY FORM OR SEND  MAIL.
    
      mail ("$ad", "$url", $message, "From: $email") ;//send our message
    
      echo"<input type=button value=\"Back\" onClick=\"history.go(-1)\">";//go back button
      
    }else{
    //start of our form - echo our html form
    echo "<form action='".$_server['php_self']."' method='post'>";//tells the form to send info to this script
    
    echo"<table>
    <tr>
    <td>Recipients email</td>
    <td><input type=\"text\"name =\"sendto\"></td>
    </tr>
    <tr>
    <td>Subject</td>
    <td><input type=\"text\"name =\"subject\"></td>
    </tr>
    <td>Reply to email</td>
    <td><input type=\"text\"name =\"from\"></td>
    </tr>
    <tr>
    <td>Message</td>
    <td><textarea rows=\"10\"cols=\"60\"name=\"message\"></textarea>
    <br><input type=\"submit\"value=\"send email\"></td>
    </tr>
    </table>";
    //end of our form
    }
    ?>
     
  10. bmcoll3278

    bmcoll3278 New Member

    added two more . Again guys please help me here with some ideas on tutorials you would like to see.
    learn php scripting