Wpis z mikrobloga

@tomek001: @Vitriol: a tak wyglądałoby tłusty czwartek gdyby napisał go profesor na uniwerku.

php

$html = "";
$haystack = "Dziś mamy tłusty czwartek";
$needle = "czwartek";

if (strpos($haystack,$needle_delivered) !== false) {
$html = "<span style='font-weight:bold'".$needle."";
}
echo $html;
  • Odpowiedz