Jump to content

php word separation help


cindreta

Recommended Posts

first im sorry for my bad english i'll try to explain as much as i can.

So i have a system build on php/mysql and it adds articles to a database. And now i wanna ad tags for every article, and i wanna do that so that i can for instance say that every tag will be separated by "," or "space" (example: first tag,secon tag...etc). And i need to insert those tags into a databes for that article. Later i need to use thosse tags for auto suggest searching.

SO how do i do that?

 

Thank you

 

Link to comment
Share on other sites

like i said i just need the code that will do the following:

i have a input field named "tags", and when somebody enters multiple tags separated by a comma ","(example: tag1,tag2,tag3), and then submits that...the code will break thosse tags one by one (by that i mean that when the script sees a comma he threats that as one tag and inserts it into a database). Do you get what i mean?

i just need something that will insert the array of those tags separated by a comma into a databes for tags and then later on i need it to search articles by tags, so that the entered tags come out separate.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.