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

Sony PlayStation 5 release date, price and specs UK: When is the PS5 coming out?

IDG UK Sites

New Apple TV release date rumours, features: 'new Apple TV next week' rumour

IDG UK Sites

Mobile email is powerful and useful - but also hopelessly intrusive

IDG UK Sites

How the Oculus Rift VR headset is helping train the surgeons of tomorrow