Tag Archives: Php Variable

Need help with forms!

Ok I will be a beginner on making websites and I am wondering how I’d make someone have to fill out a field (in this case it is just a checkbox to be in accordance the terms and conditions) Here is what I get right now Without thinking about your attachment, there are a few ways. To begin with, it is advisable to let the user know which areas are mandatory. This is largely done by providing that field a asterix and somewhere close to the form state that an asterix(*) means that is the required field. To actually ensure they don’t miss a field, you would assign in which form element into a php variable, toned it, and and then check it’s duration. The reason behind trimming, is than a smart user could simply fill ones field with spots, so technically the variable may very well be equal to… PHP: $required  =  $_POST’required_field’;   //  could  be  equal  to  ”          ” So, make it happen instead PHP: $required  =  $_POST’required_field’; $required  =  trim($required); Then use strlen to check the length. In the event zero, the field is empty. Also, similar can often be done in … Continue reading

Posted in Web Design | Tagged , , , , , , | Leave a comment

Flash Contact Form

I just purchased a Thumb website template through http: //www. graphicworx. us/details. phpgid=81& pid=201. Good template, and the fair price, Once I purchased and also opened in Flash, I found out the contact us form was simply for show and decided not to actually do anything. POST dont blame graphicworx, but does anyone know how to make a speak to form in flash that will send me a strong email when an individual uses it, in addition to send them a Thanks email Many thanks. Hello graphicsdude, I found this tutorial to the interweb which is very good except for this uses short tags (< instead of < php) and won’t directly access the $_POST array ($name as opposed to $name = $_POST’name’; ) not your your first point, sending whomever who contacted a person an e-mail will you should be a case of getting code to e-mail anyone and code to e-mail them. Easily done in the event you get one portion working. All the best. Hmm, I’ll check that away, thanks. I really dont know very much about PHP, but I will take a look. Many thanks. Basically all you do is assigning a number of PHP variables … Continue reading

Posted in Web Design | Tagged , , , , , , , , , , , , , | Leave a comment