I'm a total newbie (major) at php. I don't know what an argument is.
I have a joomla module that can parse out code and it takes the code like this
{jumi [stored_code_source] [arg1] [arg2] ... [argN]}
I presume I could do something like
<?php
If this condition exists do this:
include ‘file.php';
} else {
include ‘fileb.php’;
}
?>
But I don't know how to write that. Would it be
<?php
If this condition exists do this:
include $argument1;
} else {
include $argument2;
}
?>
Then I could just do
{jumi [stored_code_source] [http://file1.html] [http://file2.php]}
This might not make any sense, I'm really fishing here for someone who might give me a clue on how to write and argument for this circumstance. Thought I'd give it a try here. Thanks for any help or clues.