Jump to content

stevepatd

Members
  • Content Count

    22
  • Joined

  • Last visited

Community Reputation

0 Neutral

About stevepatd

  • Rank
    Member

Profile Information

  • Gender
    Not Telling
  1. I have a form that reads in an email address. I get things like name@yaoo.com. I would like to catch these common mistakes and correct them. However, sometimes the thing I'm looking at is correctly typed on the left side of the @. So if someone has a valid yaoo@yahoo.com I don't want to make this replacement. So, I only want to look at what is on the right side of the @. I have tried including the @ in my compare/replace but that doesn't seem to work at all. Any ideas how I might do this? $action = "first"; if (isset ($_POST['action'])) $action = $_POST['action']; if ($action == '
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.