1
BigJim
How can I make this change to my database
  • 2008/6/27 2:12

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Hi there

Can anyone help me on this please?

I would like to insert additional words in to my keywords field to improve the search results but without deleting existing words.

So if the title of the article has the word 'accounting' in it I would like to add the words 'accountants' and 'accountancy' in to the keywords and then the article will be returned more often in search results.

But here is the difficult part, as there are already some keywords enetered, the code must not delete those entries when it inserts the new keywords

So i tried UPDATE IGNORE table SET keywords="" WHERE title=""

Bu this just deletes my old keywords and replaces them with thenew ones

Can anyone help?

Thanks

2
BigJim
Re: How can I make this change to my database
  • 2008/6/30 3:49

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


Can anyone advise me on the correct MySQL code for the above database change?

Thanks a lot

3
Mamba
Re: How can I make this change to my database
  • 2008/6/30 4:46

  • Mamba

  • Moderator

  • Posts: 11409

  • Since: 2004/4/23


See this discussion...

I hope, it helps.
Support XOOPS => DONATE
Use 2.5.11 | Docs | Modules | Bugs

4
BigJim
Re: How can I make this change to my database
  • 2008/7/1 13:50

  • BigJim

  • Just popping in

  • Posts: 78

  • Since: 2007/7/16


that's perfect! thanks a lot Mamba!!!

Login

Who's Online

403 user(s) are online (311 user(s) are browsing Support Forums)


Members: 0


Guests: 403


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits