Nasıl bir değişken bir kelime içerdiğini PHP ifade (ama diğerlerini içerebilir)?

0 Cevap php

Guys im stuck here. Basically im using a php swtich script to include certain php files based on the incoming keyword from search engines in a page

böylece url örnek page.php için? kw = keywordhere-andotherkeywords

ve kullanarak sayfa im içinde

<?

switch($_GET['kw'])
{
case "berlingo":     
include 'berlingo.php'
         break;
   case "c4":
  include 'c4.php';
  break;

} 
?>

Now what i want to do is (in the first case) to include berlingo.php in the event that the kwyword passed on CONTAINS "berlingo" but it doesnt have to be EXACTLY that keyword alone. For example i want to include that php file if the keyword is "berlingo" but also if it is "citroen berlingo"

Ne istediğimi mantıklı?

Peki nasıl php ifade edebilirsiniz belirli değişken belli bir değeri içeriyor "" olduğunu

Tüm Umarım bu mantıklı. Teşekkürler.

0 Cevap