Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Compare 2 Lists of Words
Name: J_Search Date: February 10, 2006 at 06:39:39 Pacific OS: n/a CPU/Ram: n/a Product: n/a
Comment:
I'm currently working with PHP and MySQL, but I'm not sure how to go about this task. Any suggestions are appreciated.
I'm looking for a way to compare 2 lists of keywords and return the number of matches.
Name: SN Date: February 10, 2006 at 08:14:31 Pacific
Reply:
Are the lists in MySQL? If so, what version? If not, how are they stored? PHP arrays? Text files? If they're in mysql in two different tables, just doing an inner join should work.
More info please!!!
-SN
0
Response Number 2
Name: J_Search Date: February 10, 2006 at 10:37:20 Pacific
Reply:
I have not entered the data yet. So I'm open to just about anything. Here's what I'm planning.
(this part I have) html form: user enters url php: visits url and extracts the keywords and description meta tag values.
(I don't have this) mysql:[table: 2 columns: column1 & column2] column1- phrase or one word colum2- list of keywords relative to column1
Essentially, the php will visit the site, extract the keywords and compare them to the database keywords (column2) counting the number of matches. The php will return the column1 value for the column2 value that returned the most matches.
Summary: Hi, I'm new to php so this may be a simple answer. I want to send a command from a php script to a list of servers (from a file stored in the apache docs root). I have got as far as reading the file l...
Summary: How can I get the number of words (instead of characters) from a string that's contained inside a textbox in VBScript? I used len and got 68 char but I have no idea how to get the # of words instead...
Summary: Can anybody guide me ( do not write the script for me just guide me instead if you ve not time), A php script that will take a list of 1000 to 3000 keywords and let the user break them into list of su...