Added: 2 years ago
From: waltdesignanddevelop
Views: 9,128
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:

All Comments (18)

Sign In or Sign Up now to post a comment!
  • thank you very much!!!! thanks to you i finally got my form working!!!!

  • @dunce33 Awesome. Glad I could help.

  • i dont understand why the header and footer.php files are referenced @ :10. i dont have any files by that name and theres no coding of those in this video.....anyone?

  • @drummerjacob Those are if you were displaying a web page, you can put the top part of the page in 'header.php' and the bottom part of the page in 'footer.php'.

    They are not required to make the script run.

  • @waltdesignanddevelop ok thanks

  • @waltdesignanddevelop You can seperate HTML and PHP, instead of making 1 big mess. Search up templatepower if you haven't already.

  • Hello, is there a code where I can make them set who they want to send the message to?

  • @AustinMutschler You can add a form field to collect an email address, and then reference that in the mail command. A simple version would look like:

    mail ($_POST['toEmail'], '[[Subject]]', '[[body]]'); // replace subject and body with your actual text.

  • thanks very USEFUL ... code

  • Great tutorial for someone who knows nothing about how to set this up.

    Its a good practice to differentiate between when you are using curly brackets and round brackets because its impossible to see in a video.

    Again, thanks for this video especially setting up the if statements.

  • @drmcgog Good point about mentions which type of characters are being typed for when someone isn't viewing full screen. I'll work on that for future tutorials.

  • @waltdesignanddevelop

    A MuchMoreSimpler and easier-to-understand way of explaining variables is by saying variables are like jars, you can hold things in them, the things that are in the jars in here are the values that you hold in the variables. And also, even though I know how to explain variables, I am still new to PHP and I suck at it. I'm having difficulty with my script. I can't put my script here because I don't have enough characters to write in, so please add my email cykic1@hotmail.com

  • @shadowlord9999 I've heard the Jars definition of variables before. It works well too.

  • @nickynae - odds are you are missing a character. Something like a semi-colon, comma, or something like that. Without seeing the exact code, I can't tell.

  • hey can you help I've tried using this code but I get this error:

    Parse error: syntax error, unexpected T_STRING

  • @nickynae

    You gotta add quotation marks onto a string you put in there, what I mean by string is the sentence you put in there. So for example if you put :

    chocolate

    __________

    If you put chocolate in there then it's a command that won't be understood, so what you gotta do is add quotation marks, so it'll look like this:

    "chocolate"

  • Thanks man, u help me...

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more