This is PHP4 Code!

Simple Example


	foreach ($search_tags_array as $tag_word)
	{
		$sql = "SELECT indexer FROM videos WHERE indexer != '$vid' AND title LIKE '%$tag_word%'";
		$query = @mysql_query($sql);
		while ($result1 = @mysql_fetch_array($query))
			$tmp_result_search[] = $result1['indexer'];
	}

Multiple LIKE tests


  " WHERE (title LIKE '%$keyword%' OR tags LIKE '%$keyword%' OR description LIKE '%$keyword%')"
Feel free to comment if you can add help to this page or point out issues and solutions you have found. I do not provide support on this site, if you need help with a problem head over to stack overflow.

Comments

Your email address will not be published. Required fields are marked *