Got it!
Thanks Filburt. I appreciate it. Although the "===" is not the way that I went. I did the following:
PHP Code:
$testrecord = $DB_site->query("SELECT * FROM test WHERE testid = '".$testid."'");
if($DB_site->num_rows($testrecord) == 1){
echo "Found the record!";
} else {
echo "There is no record by this name!";
}
So basically if the record exists, I'll be able to update it. If it doesn't then I can add it.
Anyways, Thanks for the kick start. It works now so far.
Ciao!
Cloud