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

Android One vs Android Silver vs Google Nexus: What is the difference?

IDG UK Sites

Apple updates MacBook Pro line-up: Price cuts & spec boosts for 6 MacBook Pro models

IDG UK Sites

Long live the internet fridge: the Internet of Things is coming

IDG UK Sites

How Prometheus' colourist Juan Ignacio Cabrera gave a tense, edgy feel to Chosen