Forum Replies Created

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • eberswine
    Participant

    It runs perfect and throws the error!

    I was just double checking with you to see if it looked alright!

    Thanks.

    eberswine
    Participant

    Ok , I have working code here. It works perfect.

    Do you see anything wrong with it ?

    Right before the //build query code, I put this:


    // email validation from josh

    $emailCheck = mysql_query("SELECT email FROM table WHERE email = '" . mysql_real_escape_string($form->getValue('email')) . "'");

    if (mysql_num_rows($emailCheck) > 0) {
    echo 'Email exists already. You can only enter once. Sorry.';
    die();
    }

    // Build the query

Viewing 2 posts - 1 through 2 (of 2 total)
Be inspired. © 2025 ThemeCatcher Ltd. 20-22 Wenlock Road, London, England, N1 7GU | Company No. 08120384 | Built with React | Privacy Policy