From 2fe4367a1bd1a483b427e1ca50a3eb6311d8b5b5 Mon Sep 17 00:00:00 2001 From: kh100 <43330256+kh100@users.noreply.github.com> Date: Tue, 16 Mar 2021 20:05:32 +0500 Subject: [PATCH] PHP Filler generator - Text Designer PHP Filler generator - Text Designer --- fillerGenerator.php | 97 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 fillerGenerator.php diff --git a/fillerGenerator.php b/fillerGenerator.php new file mode 100644 index 0000000..71e434f --- /dev/null +++ b/fillerGenerator.php @@ -0,0 +1,97 @@ + + + + + + + Document + + + +

Text Designer - Decorator

+
+ '> + + Enter You SYMBOLS Here

+ + Enter Text HERE

+ + + + + + +
+
+ + Your Text = $initialValue "; + // echo "

Converted Value $finalValue

"; + + // averagefinder($initialValue, $finalValue); + + // upperCase($initialValue); + if(isset($_GET['text_designer'])){ + // increaseFunc(); + // increaseFunc(); + // increaseFunc(); + textDesigner($initialValue,$finalValue); + } + + // echo $marks==0 ? "Fill Form First" : round(averagefinder($marks, $obtainedMarks),2); + // averagefinder($initialValue, $finalValue); + + function textDesigner($x,$y){ + // $result = strtoupper($x); + $result = str_repeat($x, $y); + echo "

"; + //echo "AVERAGE : "; + echo "$result"; + echo " "; + echo "

"; + } + +//============================================== + // if(isset($_GET['lower_case'])){ + // // increaseFunc(); + // // increaseFunc(); + // // increaseFunc(); + // lowerCase($initialValue); + // } + // function lowerCase($x){ + // $result = strtolower($x); + // echo "

"; + // //echo "AVERAGE : "; + // echo "$result"; + // echo "

"; + // } + +//======================================= +// if(isset($_GET['uc_words'])){ +// uc_words($initialValue); +// } +// function uc_words($x){ +// $result = ucwords($x); +// echo "

$result

"; +// } + +//===================================== +// if(isset($_GET['uc_first'])){ +// uc_first($initialValue); +// } +// function uc_first($x){ +// $result = ucfirst($x); +// echo "

$result

"; +// } + + // echo ucwords($text); + // echo ucfirst($text); + + + ?> + + \ No newline at end of file