Jump to content

justin15

Members
  • Posts

    11
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

justin15's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. I want to do that, but I got no reply on how to make that, I want to try and make this script simple so I understand it, but I want to have a good script.
  2. What the hell ... lol ... I dont see that having anything to do with my script
  3. I am trying to make a date and time script that will 'refresh' every second, I would like for the just the script to reload, and not the entire page, because if you have a big page, it will take long to keep reloading the page every second. So, has of now, I have a working script which reloads the page, and does it guick, because its jus tthe plain page. If anyone knows the answer to this SIMPLE guestion, please let me know. Heres the page itself [a href=\"http://24.215.127.102/PHP/date.php\" target=\"_blank\"]Click here for the page[/a] Heres the code [code] <META HTTP-EQUIV="Refresh" CONTENT="1; URL=date.php"> <?PHP $today = date("F j, Y, g:i:s A"); echo "<B>Time and Date: $today</B>"; ?> [/code]
  4. Ok, well, as you all know by now, I am a PHP newb, and I am making the Contact Me Script. I have the main part done, well almost (Thats not including the 2 extras I want to add) So, now That you can input your information, vaildate that the information is correct, I need that information to be saved to a text file, and e-mailed to a e-mail account. You can see the script here. [a href=\"http://24.215.127.102/PHP/comment/\" target=\"_blank\"]Click here[/a] After I get this, the script will be done and ready, then I can try and add my little features. You guys, and girls, have been a big help !
  5. I dont know if it should be in here, but... Whatever helps I guess. I was thinkin the countdown part code be done in PHP. Like make it so, It was take the part out of the code ... maxchar="20" or whatever, then subtract that from the amount you have typed in, which will display the number of letters left, once it reachs 20, it should display 0, and wont allow anymore typing I think you should understand what I'm saying, but if you dont, Thats ok.
  6. I am working on the same contact me script for my website. I now want my script to do 2 things. I am pretty sure they can be done, and if you know how, please make it very simple. The first one, I will try by myself but I'd say it will be something like using some varibles and the if and then statements. What it is, To prevent spam, I want to make it so, if the " Name " and " Comments " section are not filled in, It will display a small pop saying that the following was not filled in. The second, (I forgot my actually second idea ! [img src=\"style_emoticons/[#EMO_DIR#]/wink.gif\" style=\"vertical-align:middle\" emoid=\":wink:\" border=\"0\" alt=\"wink.gif\" /]) But I want to make it display beside the textbox is a thing in green letters saying how many Charcters you have left. Thanks
  7. Ok, Got a little bit farther ... But now I have screwed up again, But I am pretty sure on the line I messed up on. [b]PHP Code:[/b] [code] <div align="center"> <?php $comments1 = $_POST['comments1']; $comments2 = $_POST['comments2']; $comments3 = $_POST['comments3']; echo "Your information will display below, if this information is right please continue on by pressing <I>Continue</I> farther down the page"; echo "Your name is" $comments1 "Your E-Mail is" $comments2 "Your comments are" $comments3; ?> </div> [/code] Now the code will work without the second echo [b]Second Echo Code:[/b] [code] echo "Your name is" $comments1 "Your E-Mail is" $comments2 "Your comments are" $comments3; [/code] So, my guess is that I am not using the Varibles right, But I am still learnin, so .. Whatever .. lol Anyway, Thanks again.
  8. Ahh, Thank you ! Very good, now I shall be off to make more features / finish the script, or atleast try to work on it ! ! [img src=\"style_emoticons/[#EMO_DIR#]/smile.gif\" style=\"vertical-align:middle\" emoid=\":smile:\" border=\"0\" alt=\"smile.gif\" /]
  9. I am getting plain nothing, when you click the submit button, you get a blank page ... I will post a link below [a href=\"http://24.215.127.102/PHP/comment/\" target=\"_blank\"]Here you go, click here to see the script on a Working PHP Enabled server.[/a]
  10. Hello, this is my first post, and I hope will be one of many, Because I'll admit, I am a PHP Newb, but anyway, I need help with a script I am working on, it seems to do nothing of what I want it to, I will post the HTML and PHP Code below. [i]Script is not close to done. I am still adding more features, lots .. I hope ![/i] [b]HTML:[/b] [code] <form action="comment.php" method="post"> <B>Name:</B><input type="text sixe="20" value="Your Name." name="comments1"></input><BR> <B>E-Mail (Optional):</B><input type="text sixe="20" value="Your E-Mail (Optional)" name="comments2"></input><BR> <B>Comments:</B><BR> <textarea value="Your Comments Here" rows="10" name="comments3"> </textarea><BR> <input type="submit" value="Send"> </form> [/code] [b]PHP:[/b] [code] <php $comments1 = $_POST['comments1']; $comments2 = $_POST['comments2']; $comments3 = $_POST['comments3']; echo $comments1; ?> [/code] All I want to make it do, as of now, is take the Name, E-Mail, and Comments from the last page and display it, Thats it for now. Thanks
×
×
  • 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.