dcsimg
www.webdeveloper.com

Search:

Type: Posts; User: ilurn

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    20
    Views
    1,943

    JG Now I understand what you are saying to me....

    JG

    Now I understand what you are saying to me. I will work on this.

    thank you
    Ivanna
  2. Replies
    20
    Views
    1,943

    JG, if you mean how do I say it is a success or...

    JG,
    if you mean how do I say it is a success or is not, that is where I am confused. I thought I had to declare a var to say it is a success. I think that is where I make mistakes.

    if...
  3. Replies
    20
    Views
    1,943

    JG I did not mean to cause offense. I did what I...

    JG
    I did not mean to cause offense. I did what I thought you meant.

    I got error checking implemented.



    I understood that validation is set to true

    $validationOK=true;
  4. Replies
    20
    Views
    1,943

    Here is my new code. I have put Trim back in. ...

    Here is my new code. I have put Trim back in.


    <?php
    error_reporting(E_ALL | E_NOTICE);
    ini_set('display_errors', '1');

    // set variables
    $EmailFrom = ($_POST['EmailFrom']);
    $EmailTo =...
  5. Replies
    20
    Views
    1,943

    JG, Okay, I have removed all the trim stuff and...

    JG,
    Okay,
    I have removed all the trim stuff and got it down to this:

    // set variables
    $Name = ($_POST['Name']);

    // validate
    if ($Name=="")$validationOK=false;
  6. Replies
    20
    Views
    1,943

    JG PHP code - therefore it has to be inside the...

    JG
    PHP code - therefore it has to be inside the php tags I saw it as soon as I posted. my mistake
    As for your code - what a mess. I know.:o
    It's obvious you don't know anything about PHP but I...
  7. Replies
    20
    Views
    1,943

    As I have said, I am very novice so I am learning...

    As I have said, I am very novice so I am learning from online tutorials, youtube, books and pieces of code I find anywhere.

    I am trying to take this code and find how it works but maybe I get it...
  8. Replies
    20
    Views
    1,943

    The script works as much as sending the form to...

    The script works as much as sending the form to me but I do not get the thank you or error message on the browser.

    this is the code that is sending the email followed by the thankyou code.

    ...
  9. Replies
    20
    Views
    1,943

    Warning: Illegal string offset

    Hello,
    I am a novice with PHP so please bear with me.

    I am trying to build a contact page as part of my PHP learning and have a problem I cannot find an answer for.

    I am using localhost with...
  10. Replies
    16
    Views
    2,326

    I wish. I am only starting to learn PHP. I was...

    I wish. I am only starting to learn PHP. I was following tutorials online to learn and getting the same error from all tutorials so I thought perhaps I am doing something wrong so I download this zip...
  11. Replies
    16
    Views
    2,326

    I am going back over the replies to see if I...

    I am going back over the replies to see if I missed something I was asked to do.
    I think I answered #2, #3 and #4 with the code I posted in #5 but will say it again.

    williamforrest

    These lines...
  12. Replies
    16
    Views
    2,326

    Why do you say that? What help have I refused? I...

    Why do you say that? What help have I refused? I have not refused any help and, no, I do not think I tried everything, that is why I am here.

    You asked me to try error checking. I did and did not...
  13. Replies
    16
    Views
    2,326

    I have installed an error checker into...

    I have installed an error checker into Sublimetext and that checks for syntax errors. I have also checked it with phpcodechecker and there are not any php problems (that I can find).

    I have tried...
  14. Replies
    16
    Views
    2,326

    I checked the code with...

    I checked the code with http://phpcodechecker.com/ and it is ok. Also this is the same with all scripts. I think that is too coincidental to be the same error with all scripts.

    This is my set up....
  15. Replies
    16
    Views
    2,326

    This is what I do not understand. The script was...

    This is what I do not understand. The script was downloaded from the w3.org site and I have changed nothing. This is the same when I have copied other code from tutorials. I get the same type of...
  16. Replies
    16
    Views
    2,326

    Struggles with form validation

    I have looked at some PHP tutorials form validation and always there is an error of one sort or another so I downloaded a test form from...
  17. Replies
    6
    Views
    1,537

    Just noticed, on the first part, you had three =...

    Just noticed,
    on the first part, you had three = and single quotes
    thereafter it is double = and double quotes.

    whats the difference?

    thanks
  18. Replies
    6
    Views
    1,537

    I'll go with this :) I appreciate your help...

    I'll go with this :)
    I appreciate your help NogDog.

    Thank you.
  19. Replies
    6
    Views
    1,537

    Thanks NogDog, So, my code will be ...

    Thanks NogDog,
    So, my code will be

    if(trim($Street3) !== '') {
    $success = mail($EmailBad, $Subject, $Body, "From: <$EmailFrom>");

    Now, I'm thinking this validation will need to go before my...
  20. Replies
    6
    Views
    1,537

    Perhaps, if I re-phrase this question you will...

    Perhaps, if I re-phrase this question you will understand what I am trying to do.

    I have a form where some fields are validated (name, email etc.)
    If they are empty, a warning asks to fill the...
  21. Replies
    6
    Views
    1,537

    Is this code correct?

    I have a contact form I used for a long time but now need to add a honeypot.
    The form collects Name, email, phone, Street1, Street2, city, zip and comment.

    The form has field validation. This is...
  22. Replies
    1
    Views
    3,900

    How does client view localhost

    I have built some website for local people and received good accolade from them. I would build a site and then publish on their registered domain so they will view and make comment for change. This...
  23. Replies
    6
    Views
    7,872

    I would also like to know this answer. Thank you

    I would also like to know this answer.
    Thank you
  24. Replies
    4
    Views
    3,721

    thank you for replying and thank you for the...

    thank you for replying and thank you for the code. I want to test before uploading to host so I think I now must add php to iis on my computer.
    It is something new to learn and only little time.
    ...
  25. Replies
    4
    Views
    3,721

    external navigation bar

    I am new to this forum.
    I know html and css. My web site will have many pages added from time to time but I do not want to go to each page to add links. I want to add link in one page that is called...
Results 1 to 25 of 26
Page 1 of 2 1 2
HTML5 Development Center



Recent Articles