|
إنضمامك إلي منتديات استراحات زايد يحقق لك معرفة كل ماهو جديد في عالم الانترنت ...
انضم الينا
#1
| ||
| ||
I would like to replace all the instances of a string of text in the body of a post* but only where a specific user posted it. In my case* I have a user spamming the forum with a URL that consists of pretty common words. (Something like 'mycoolsite.com' or something). To get around some filters* he has used variations* such as 'my cool site.com'* so I would like to mass-replace all instances of 'my cool site' with something like 'removed'* but only in his posts* not the posts of other people. Does anybody know the SQL query for this? I have this* for a simple find and replace: Code: UPDATE post SET pagetext = REPLACE(pagetext* 'annoyinguser'* 'gonenow'); __DEFINE_LIKE_SHARE__ |
مواقع النشر (المفضلة) |
| |
المواضيع المتشابهه | ||||
الموضوع | كاتب الموضوع | المنتدى | مشاركات | آخر مشاركة |
تحميل برنامج Advanced Find and Replace 5.2 | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-13-2010 02:30 AM |
SQL Query Replace Text Issue | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 03-30-2010 11:00 PM |
Database Query to REPLACE link in messages | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 03-07-2010 12:50 AM |
Find and replace query | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 02-12-2010 12:10 PM |
Find and Replace Query | محروم.كوم | منتدى أخبار المواقع والمنتديات العربية والأجنبية | 0 | 05-01-2009 04:20 AM |