<M/> 170

You should have seen my first posts on Daniweb... I didn't know how to write a loop XD (2 years ago lol)

https://www.daniweb.com/members/950732/m/posts/246

Have my skills increased overtime? Yes (this is where diafol lifts his finger and says, "Oh really..."). Has my maturity increased overtime? Pfft... Yeah right.

Its great to see where we all began :)

<M/> 170

Is there a certain requirement to what skill sets the person must have...? And is this innovation about a drink company that was supposed to be launched mid 2014...?

<M/> 170

You know what, I think I figured out why I had a problem the entire time. My php variables didn't match what I had in the HTML file because of what I changed - diafol face atm after reading it until this far: :D . I finally got it to send me verifications and send me a copy of what they sent. I just need to clean it up... a lot.

<M/> 170

I am gonna go check out PHPStorm, hopefully that will be pretty good.

<M/> 170

Out of curiousity, what would be the most preferred editor for catching mistakes like the ones I am making? Coda 2 doesn't do the job, even though its a nice looking editor...

<M/> 170

Sorry Diafol, I am using Coda as the editor. It does a poor job of telling me about errors :/

Let me see if Dreamweaver can do things better than Coda

Losing the will here M. Some of these issues have been covered already. Ok leaving you to it.

I don't blame you, I am a mess at the moment and I need to get things straightened up to where I was last summer. But I do appreciate your help!

<M/> 170

Okay, so I am starting to see some progress when having it set up like that. Atm, I do get what the user submitted, but only half of it (view image). Currently, I don't get half of the inputs, the user doesn't get a verification, and the csv isn't recieving any inputs.
Screen_Shot_2015-06-24_at_9.52_.06_AM_.png

<M/> 170

Hmm, okay.
I tend to prefer at times to use inline styling to overwrite a css I did. Is it the best approach? Of course not. Do I like it for no reason? Yeah :P

I added some name attributes and this is what I have so far (hopefully it looks good :P):

<form action="contact.php" class="footer-form" method="post">
<p class="title">Feel free to write some words</p>

<div class="form-group">
    <strong>
        <input type="text" class="form-control" name="contact-name" id="contact-name" placeholder="Your Name:">
    </strong>
</div>
<div class="form-group">
    <strong>
        <input type="email" class="form-control" name="contact-email"" id="contact-email" placeholder="Your E-mail:">
    </strong>
</div>
<div class="form-group">
    <strong>
        <input type="phone" class="form-control" name="contact-phone" id="contact-phone" placeholder="Your Phone Number:">
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="child_info" class="form-control" name="child_info" id="child_info" placeholder="Information About Child:">
    </strong>
</div>
<div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
    <strong style="font: Raleway; color: #999; font-size: 16.5px;" name="gender" id="gender">Child's Gender:</strong>
    <strong style="color: #888;">
        <input type="radio" id="gender" name="male" value="male"> Male
    </strong>
    <strong style="color: #888;">
        <input type="radio" id="gender" name="female" value="female"> Female
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="age" name="age" id="age" class="form-control" placeholder="Age of Child:">
    </strong>
</div>
<div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
    <strong style="font: Raleway; color: #999; font-size: 16.5px;" id="specialneeds">Does Your Child Have Special Needs:</strong> 
    <strong style="color: #888;">
        <input id="yes" type="radio" name="specialneeds" value="yes">Yes
    </strong>
    <strong style="color: #888;">
        <input id="no" type="radio" name="specialneeds" value="no"> No
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="comment" class="form-control" name="message" id="message" placeholder="Comments about service or if you want to add another child, write here:">
    </strong>
</div>
<button type="submit" class="btn btn-default waves-effect waves-button waves-float waves-classic"><strong>Submit</strong></button>
<M/> 170

Alright, I am back reviving this thread...

So, I have made a few tweaks to the form. Currently, the only thing that works is that it sends me an email that someone submitted the form. What doesn't work is that I can't see what they submitted, the user who submitted it doesn't get a verification, and the results don't get recorded in my csv file.

Here is the current progress (i removed the extra ID tags):

HTML:

<form action="contact.php" class="footer-form" method="post">
<p class="title">Feel free to write some words</p>

<div class="form-group">
    <strong>
        <input type="text" class="form-control" id="contact-name" placeholder="Your Name:">
    </strong>
</div>
<div class="form-group">
    <strong>
        <input type="email" class="form-control"  id="contact-email" placeholder="Your E-mail:">
    </strong>
</div>
<div class="form-group">
    <strong>
        <input type="phone" class="form-control" id="contact-phone" placeholder="Your Phone Number:">
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="child_info" class="form-control" id="child_info" placeholder="Information About Child:">
    </strong>
</div>
<div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
    <strong style="font: Raleway; color: #999; font-size: 16.5px; " id="gender">Child's Gender:</strong>
    <strong style="color: #888;">
        <input type="radio" id="maLe" name="male" value="male"> Male
    </strong>
    <strong style="color: #888;">
        <input type="radio" id="female" name="female" value="female"> Female
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="age" id="age" class="form-control" placeholder="Age of Child:">
    </strong>
</div>
<div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
    <strong style="font: Raleway; color: #999; font-size: 16.5px;" id="specialneeds">Does Your Child Have Special Needs:</strong> 
    <strong style="color: #888;">
        <input id="yes"" type="radio" name="yes" value="yes">Yes
    </strong>
    <strong style="color: #888;">
        <input id="no" type="radio" name="no" value="no"> No
    </strong>
</div>
<div class="form-group">
    <strong> 
        <input type="comment" class="form-control" id="message" placeholder="Comments about service or if you want to add another child, write here:">
    </strong>
</div>
<button type="submit" class="btn btn-default waves-effect waves-button ...
<M/> 170

Congrats man! Glad you are coming to California!

<M/> 170

Man... I am still doing my finals...

<M/> 170

Were you looking for sommething more complicated?

I was wondering if there was an actual generator already made that can do it. But i can try toying around with that.

<M/> 170

Does anyone here know of a generator that can automatically create tables for you? Basically, I have a site with over 100 pdf files in it, and I want to put them in a table so that they display in a list. Is there a generator that can create the table for me without me having to create each individual link to each pdf?

I don't know if that makes sense or not.

<M/> 170

Sorry Diafol, things have been pretty "off" for me lately and I haven't been writing or practicing much due to finals that are coming up before the end of school :P

I usually make it a rule of thumb to keep 'name' and 'id' the same if possible to avoid this confusion, as sometimes you want to lever some ajax goodness out of forms, wheree you may be using 'id' instead of 'name'. Is there any reason for the difference?

I did it the way I did because I assumed (for whatever random reason I had) that it can work because it did before in the past with a different site I was practicing on.

Did you not think to test it first?

No, not while I was using my phone at that moment.

<M/> 170

its a lung disease... or basically Silicosis

<M/> 170

So by doing something like this:
HTML (before):
<input type="text" class="form-control" name="contactname" id="contact-name" placeholder="Your Name:">

After:
<input type="text" class="form-control" name="contact-name" id="contactname" placeholder="Your Name:">

<M/> 170

Form security is pretty important and is something I have to implement. I would use phpmailer but I am not really sure how to use it.

Based on my current form:
HTML:

<form action="contact.php" class="footer-form">
    <p class="title">Feel free to write some words</p>

    <div class="form-group">
        <strong>
            <input type="text" class="form-control" name="contactname" id="contact-name" placeholder="Your Name:">
        </strong>
    </div>
    <div class="form-group">
        <strong>
            <input type="email" class="form-control" name="contactemail" id="contact-email" placeholder="Your E-mail:">
        </strong>
    </div>
    <div class="form-group">
        <strong>
            <input type="phone" class="form-control" name="contactphone" id="contact-phone" placeholder="Your Phone Number:">
        </strong>
    </div>
    <div class="form-group">
        <strong> 
            <input type="child_info" class="form-control" name="child_info" id="contact-text" placeholder="Information About Child:">
        </strong>
    </div>
    <div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
        <strong style="font: Raleway; color: #999; font-size: 16.5px; " id="gender">Child's Gender:</strong>
        <strong style="color: #888;">
            <input type="radio" id="maLe" name="gender" value="male"> Male
        </strong>
        <strong style="color: #888;">
            <input type="radio" id="female" name="gender" value="female"> Female
        </strong>
    </div>
    <div class="form-group">
        <strong> 
            <input type="age" name="age" class="form-control" id="contact-text" placeholder="Age of Child:">
        </strong>
    </div>
    <div class="form-group" style="border-bottom: 1px solid #e5e5e5;">
        <strong style="font: Raleway; color: #999; font-size: 16.5px;" id="specialneeds">Does Your Child Have Special Needs:</strong> 
        <strong style="color: #888;">
            <input id="yes"" type="radio" name="specialneeds" value="yes">Yes
        </strong>
        <strong style="color: #888;">
            <input id="no" type="radio" name="specialneeds" value="no"> No
        </strong>
    </div>
    <div class="form-group">
        <strong> 
            <input type="comment" class="form-control" id="message" id="contact-text" placeholder="Comments about service or if you want to add another child, write here:">
        </strong>
    </div>
    <button type="submit" class="btn btn-default waves-effect waves-button waves-float waves-classic"><strong>Submit</strong></button>
</form>

The PHP is the same as above:

<?php 
    $contactname = $_POST["contact-name"];
    $contactemail = $_POST["contact-email"];
    $contactphone = $_POST["contact-phone"];
    $child_info = $_POST["child_info"];
    $gender = $_POST["gender"];
    $age = $_POST["age"];
    $specialneeds = $_POST["specialneeds"];   
    $message = $_POST["message"];
    $to      = 'yahoo@gmail.com';
    $subject = ...
<M/> 170

Sorry about the formatting, i didn't realize it until now. It was perfectly fine till i posted it on the editor here :P
I will see if i can make some changes based on what you guys have said

<M/> 170

Hey guys,
I am working on my contact form for a site of mine (i am designing the form differently) that is for a child care, and I can't seem to get the form to connect with the php in order to get it to send verification to the user, send me a copy, and record it within a csv.

Here is the html form that goes on the page:

                            <form action="#" class="footer-form" action="contact.php"> <p class="title">Feel free to write some words</p> <div class="form-group"> <strong><input type="text" class="form-control" id="contactname" id="contact-name" placeholder="Your Name:"></strong> </div> <div class="form-group"> <strong><input type="email" class="form-control" id="contactemail" id="contact-email" placeholder="Your E-mail:"></strong> </div> <div class="form-group"> <strong><input type="phone" class="form-control" id="contactphone" id="contact-phone" placeholder="Your Phone Number:"></strong> </div> <div class="form-group"> <strong> <input type="child_info" class="form-control" id="child_info" id="contact-text" placeholder="Information About Child:"></strong> </div> <div class="form-group" style="border-bottom: 1px solid #e5e5e5;"> <strong style="font: Raleway; color: #999; font-size: 16.5px; " id="gender">Child's Gender:</strong> <strong style="color: #888;"><input type="radio" id="maLe" name="male" value="male"> Male</strong>   
                                <strong style="color: #888;"><input type="radio" id="female" name="female" value="female"> Female</strong> </div> <div class="form-group" > <strong> <input type="age" id="age" class="form-control" id="contact-text" placeholder="Age of Child:"></strong> </div> <div class="form-group" style="border-bottom: 1px solid #e5e5e5;"> <strong style="font: Raleway; color: #999; font-size: 16.5px;" id="specialneeds">Does Your Child Have Special Needs:</strong> <strong style="color: #888;"><input id="yes"" type="radio" name="yes" value="yes"> Yes</strong>   
                                <strong style="color: #888;"><input id="no" type="radio" name="no" value="no"> No</strong> </div> <div class="form-group"> <strong> <input type="comment" class="form-control" id="message" id="contact-text" placeholder="Comments about service or if you want to add another child, write here:"></strong> </div> <button type="submit" class="btn btn-default waves-effect waves-button waves-float waves-classic"><strong>Submit</strong></button> </form>

Here is the PHP that does all the heavy liftin':

<?php 
    $contactname = $_POST["contact-name"];
    $contactemail ...
<M/> 170

San Andreas was an awesome film.

<M/> 170

The story did not require any great expense in terms of special effects so a major expense would have been the outrageous salary demanded by Cruise.

But isn't he also one of the main producers of the film?

Why not cast a lesser known actor instead of an overpaid, overhyped Tom Cruise?

For ticket sales, I suppose. You are more likely going to watch a film with an actor you already know rather than a new person.

Personally, I would have liked to see Jim Caviezel in the role. True, he is still a few inches shy at a mere 6'2" but he has the demeanor down pat and with some serious training he would bulk up nicely.

Since i really don't know what Jack Reacher should look like, aside from a big burly man... Jim would need to pack on some weight :P

Plus, he's not a complete douche like Tom Cruise.

Probably because he had stayed happily married with his since like 1996 while tom cruise divorces each of his wives at the age of 33... Don't get me wrong, Tom Cruise is a talented guy, so lets give the man credit where he deserves it.

<M/> 170

Hardly compact (mesomorph). He is described as 6'5" and 250 lbs of solid muscle. Tom cruise is 5'7" and around 100 lbs too light. When the movie was first cast I asked several people to pick the actor least likely to be picked to play Jack Reacher. Out of six people asked this question, all said Tom Cruise.

I guess it makes sense to make him the star. If you want to sell tickets, who would you want as the star? One of hollywood's most powerful figures or a new actor who could be a complete gamble? In terms of being realistic, there are numerous others who could have pulled off the look. I mean, i guess if you casted someone who is large but big in hollywood like the Rock would have worked

<M/> 170

@Warrens, simply because they didn't think ahead.

<M/> 170

And yes, he is good, if you see mayweather train you'll know nobody's elses training regime even comes close.

Have you not seen mike tyson training? Or maybe Frazier? Or Tim Bradley? Or Pacman himself? Or Holyfield? Or Klitschko? There are many boxers who train harder than Mayweather. The advantage Mayweather has is who fights (and most of which aren't very challenging, from a boxer's perspective).

Well, as he gets older perhaps, but my guess is he'll have one more rematch with pac man, purely for the money and then he'll retire.

He won't. He called him out a coward and took back his "offer."

However, the reason why he is 37-0 is precisely because he's smart when he boxes.

The majority of his fights aren't even impressive fights. To be honest, I pay attention to his fights and most of the fights aren't even with great boxers. Honestly, the only fights I credit him for are with Canelo (Canelo just wasn't at his best like he was in his recent fights), De La Hoya (even though he slipped on that fight), Castillo, and my absolute favorite is his fight in the olympics where he actually lost... and that obviously put a smile on my face. I am not into cheap and low life boxers who are credited with winning easy fights. Honestly, Pacquaio would have won IF he did not have a wounded arm. If it required Mayweather to win by decision after 12 rounds to beat a one ...

<M/> 170

Well, i guess when you are sick, you ignore everything around you and I guess that lets you focus.

<M/> 170

Maybe, the reason why you can't cancel your daniweb account after clicking the button so many times is because your account is special and it is a sign to do good things... or you just don't know how to click a button.

<M/> 170

According to some studies, i need to find some samples of it, people test better when they are sick... I guess that is why I did pretty well on the test.

<M/> 170

I don't think the fighters in that fight had any marines to train with them...? At least that's what I know.

<M/> 170

In the books, isn't Jack Reacher supposed to be really big, strong, and slow?

<M/> 170

lol XD
No, I have never done that

Have you ever felt like a plastic bag drifting through the wind, wanting to start again?