[Solved]How to display something by checking something.
Posted: Mon Jun 16, 2008 10:41 am
Hello, im new here and new in php coding,
I don't know how to call thing, i want to create file from who will be possible to control what to show and what to hide. The thing i want is to add file in same directory there is main file, lets say control.php, and to main file add code what will be something like: if in control.php showing image1 and image2 is true, wan show image1 and image2, else show nothing. Ore if in control.php show code3 'code show = 3', wan show not first not second but third code only.
Do anyone have idea how to do it, ore where i can find example code, ore where i can find something like whys
Thanks for help.
I don't know how to call thing, i want to create file from who will be possible to control what to show and what to hide. The thing i want is to add file in same directory there is main file, lets say control.php, and to main file add code what will be something like: if in control.php showing image1 and image2 is true, wan show image1 and image2, else show nothing. Ore if in control.php show code3 'code show = 3', wan show not first not second but third code only.
Do anyone have idea how to do it, ore where i can find example code, ore where i can find something like whys
Thanks for help.