Hello, I have a granit php function but would like to print my own text into it, which is stored inside a variable.
This is how the code looks before I enter the variable:
gradient('FF0000', '0000FF', 'my test goes here');
Which works fine, but now I want to put the variable where the text goes like so
gradient('FF0000', '0000FF', '".$profile."');
Which just echos out $profile onto the page. I can echo out $profile and it works fine, but I want to add the granit function to it.
What am I doing wrong ??
simply:
Or: