|
 |
 |
$1\n", $text); // make paragraphs, including one at the end
$text = preg_replace('|(?)\s*\n|', "
\n", $text); // optionally make line breaks
return $text;
}
function lists($text) {
$text = preg_replace("/(\r\n|\n|\r)/", "\n", $text); // cross-platform newlines
$text = preg_replace("/\n\n+/", "\n\n", $text); // take care of duplicates
$text = preg_replace('/\n?(.+?)(\n\n|\z)/s', "$1\n", $text); // make paragraphs, including one at the end
$text = preg_replace('|(?)\s*\n|', "
\n", $text); // optionally make line breaks
return $text;
}
$whyhirequery = @mysql_query("SELECT * FROM whyhire",$db);
$whyhire = mysql_fetch_array($whyhirequery);
print(" | ");
include ("nav.txt");
print("
");
print(" About KSD Wedding Consulting | ");
print(" ");
print(" ");
//TOP TEXT
if($whyhire[text_top] != ""){
$text1 = $whyhire[text];
$textT = paragraph($text1);
print("$textT\n");
}
print("\n");
print(" \n");
//LIST WHY HIRE
if($whyhire[whyhire] != ""){
$text1 = $whyhire[whyhire];
$textT = lists($text1);
print("$textT\n");
}
print(" \n");
print("\n");
print(" \n");
print("\n");
print(" \n");
//LIST FAQ
if($whyhire[faq] != ""){
$text1 = $whyhire[faq];
$textT = lists($text1);
print("$textT\n");
}
print(" \n");
print("\n");
//BOTTOM TEXT
if($whyhire[text_bot] != ""){
$text1 = $whyhire[text_bot];
$textB = paragraph($text1);
print("$textB\n");
}
?>
|
| Home Why Hire A Wedding Consultant About KSD Wedding Consulting Contact Us Site Map |