sitegiant
10-24-2009, 03:47 PM
I have a few directories that I let get away from me (in approving links). Now i have large directories with tons and tons of unapproved spam. I'm looking for a code where I can add the mySQL and not approve any of them.
Here is a code to approve all links.
UPDATE PLD_LINK SET `STATUS` = '2'
that works great to approve all submitted, but that would ruin my directories.
this is a code that was suggested before
UPDATE PLD_LINK SET `STATUS` = '0' WHERE `LINK_TYPE` = x
2 is approved, 1 is pending, so I am assuming 0 is unapproved.
UPDATE PLD_LINK SET `STATUS` = '0' WHERE `LINK_TYPE` = '1'
so I tried this and got no results, I did this
UPDATE PLD_LINK SET `STATUS` = '1' WHERE `LINK_TYPE` = '2'
and it unapproved what was there.
so the problem looks like its the zero.
It sure would help if someone had the anser for me here. Thanks.
Here is a code to approve all links.
UPDATE PLD_LINK SET `STATUS` = '2'
that works great to approve all submitted, but that would ruin my directories.
this is a code that was suggested before
UPDATE PLD_LINK SET `STATUS` = '0' WHERE `LINK_TYPE` = x
2 is approved, 1 is pending, so I am assuming 0 is unapproved.
UPDATE PLD_LINK SET `STATUS` = '0' WHERE `LINK_TYPE` = '1'
so I tried this and got no results, I did this
UPDATE PLD_LINK SET `STATUS` = '1' WHERE `LINK_TYPE` = '2'
and it unapproved what was there.
so the problem looks like its the zero.
It sure would help if someone had the anser for me here. Thanks.