Jump to content

Right ok.. Can you see anything wrong with this code?


Devboy

Recommended Posts

can you guys see anything wrong with this?

 

	
$check_contestant = tep_db_query("select contestants_name, contestants_email from " . TABLE_CONTEST . " where contestants_email = '" . tep_db_input($contestant_email) . "'");
$already_entered = $check_contestant['contestants_email'];

    if ($already_entered == $contestant_email) 
	{
	tep_redirect(tep_href_link(FILENAME_CONTEST, 'entered=1' , 'NONSSL'));	

    } 

 

Does anything look wrong in that code?

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.