We use cookies to provide you with a better experience. If you continue to use this site, we'll assume you're happy with this. Alternatively, click here to find out how to manage these cookies

hide cookie message
Contact Forum Editor

Send an email to our Forum Editor:


PLEASE NOTE: Your name is used only to let the Forum Editor know who sent the message. Both your name and email address will not be used for any other purpose.

Tech Helproom


It's free to register, to post a question or to start / join a discussion


 

Bit of php help needed.


barryoneoff.co.uk

Likes # 0

Can anyone help me please?

I know the simple basics of php but this is driving me crazy. On a contact form of which I have published many successfully using "Action = FormName.php". I just want to add a "repeat E-mail" box and compare the two to make sure there are no typing errors.

I have tried using "if $mail !== $repeatmail" echo "blah blah" without success along with some other methods.

I know there must be a simple way to compare the two strings but can't work it out.

Any ideas? Cheers, the old whizwrinkly. If you need to see the actual form, it's on this unfinished website (Contact me): click here

Like this post
barryoneoff.co.uk

Likes # 0

I've had to remove the repeat E-mail for now, but if anyone comes up with an answer I can always put it back in again. Thanks.

Like this post

Reply to this topic

This thread has been locked.



IDG UK Sites

Best Black Friday 2014 tech deals: Get bargains on smartphones, tablets, laptops and more

IDG UK Sites

What the Internet of Things will look like in 2015: homes will get smarter, people might get fitter

IDG UK Sites

See how Trunk's animated ad helped Ade Edmondson plug The Car Buying Service

IDG UK Sites

Yosemite tips: Complete Guide to OS X Yosemite