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