$tags = get_meta_tags($url);

$keywords = $tags['keywords'];

this get me the keywords for a website. Just say there are 5 keywords in that one variable. e.g. apple, banana, orange, pear and coconut. how do i insert these 5 keywords in that one variable($keywords) into seperate rows.

So insert first keyword into one row
second keyword into one row

etc remember they are all in one variable.


how can i do this?... example would help

use explopde() to separate the keywords . use for loop to insert keywords in the db

see explode() here

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.