is there a way to create a function that uses values from the statement inside of brackets.
ex.
myFunction(){
//data here
}
if not, what i am trying to do is get a html tag and check/modify without having it inside of a variable or echo tag.
for example, i want to do the equivilent of this:
<?php
$data ={
?>
test
<?php
}
myFunction($test);
?>
i do not want to use javascript for this although it would be easier.
thanks!