Im not so sure but PHP if statement kind of branches off. I need a more open and direct approach.
I think the query must do the work my example below ...
example: apple = "$mkrs";
$query = "INSERT INTO JS ( id , wrdprc , wrdnprc , pgld ) VALUES ('', '12', '$mkrs', '0') ";
BUT
In the table JS and field wrdnprc
"apple" exists already
I dont want to INSERT any exact duplicates
idis the primary key and set to autoincrement
additionally
"$mkrs" could be in the following format
%honey%76%345
or %8something%%
or something%45%45
I could however
$mkrs = str_replace ("%", "", $mkrs);
INSERT to another backup field wrdprc is for this scenerio.