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

How to watch the Windows 9 launch event: no live video stream so catch our Windows 9 launch live...

IDG UK Sites

Windows 9 and the death of the OS as a must-have product

IDG UK Sites

Video trends: 4K is here – HDR video, VR and 3D audio is coming

IDG UK Sites

Best iPhone 6, iPhone 6 Plus deals: iPhone 6, iPhone 6 Plus tariffs, contracts and prices UK