Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Collect keyword from text string and insert into database automatically PHP MySql

Tags:

php

mysql

I need help to create a script for finding keywords in a string, and inserting them into a database for use in a tag cloud.

  • The script would need to obviously dismiss characters, and common words like 'I', 'at', 'and', etc.
  • Get a value for the frequency of each keyword it finds and then insert it into the database if it's new, or update the existing row with the addition of the strings keyword count.
  • The string is unformatted text from a database row.

I'm not new to PHP, but I haven't attempted anything like this before, so any help is appreciated.

Thanks, Lea

like image 338
Lea Avatar asked Feb 27 '26 23:02

Lea


1 Answers

Google + php keywords from text = http://www.hashbangcode.com/blog/extract-keywords-text-string-php-412.html

like image 91
Dejan Marjanović Avatar answered Mar 01 '26 11:03

Dejan Marjanović