Deprecated: Function ereg() is deprecated in /home/mobste42/public_html/checkem.php on line 20
Deprecated: Function ereg() is deprecated in /home/mobste42/public_html/signup.php on line 21
You have signed up, enjoy the game.
you are using Deprecated functions too
which example you given that is also right .
my point :- isset() i was mean that this is only checking this that this is existing variable or not. array_key_exists() in this case first, if that would not be array then it would create the problem.
nothing else
try this
$db->query("INSERT INTO p_messages(pmc_id, s_id, r_id, message, time) VALUES($c_id,$userid,$fr_id,$pmessage, NOW())");
now() should without quotes bcz it is predefined function for mysql current date & time
FULLTEXT searches are absolutely going to be faster
select COUNT(columnname) FROM table WHERE INSTR(columnname,'keyword') > 0;
or follow this
http://www.joedolson.com/boolean-query-in-mysql.php