how are you assigning the results of $sth->fetch() to $badword?The OP's doing a bind_columns after the execute:
Although the code should check the return result, unless he's using RaiseError.$sth->bind_columns(\$id, \$badword);
In reply to Re^4: s/// not replacing data
by VSarkiss
in thread s/// not replacing data
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |