Is there any sort of command that will run a script without the print() or echo command?
For instance,
if($this == true) {
"some code to run the rest of the script"
}
Thanks!
Is there a "run" command in PHP?
Moderator: General Moderators
- hob_goblin
- Forum Regular
- Posts: 978
- Joined: Sun Apr 28, 2002 9:53 pm
- Contact:
i suppose you could put the whole script in a function... and then call it
Code: Select all
if($var){
require('wherethescriptis.php');
thefunctionsname();
}