Forums

foreach page title (1 post)

  1. markquee
    Member
    Posted 4 months ago #

    I'm newbie..I have an array of 10 strings separated with comma ","I need to make that arrays to be page title at once.

    $k_menu=explode(",",$row['keyword']);
    		foreach($k_menu as $key_menu){
    		 for($counter=1;$counter<=200;$counter++){
    		$posts[$counter]->page_title = __($key_menu);
            $posts[$counter]->post_content = $key_menu[$counter];
    		 }
    	}}

Reply

You must log in to post.

About this Topic

Tags