<?php
if (in_array($key,$following)){
echo ' <form id="follow" action= "action.php" method="GET" data-theme="a">
<input type="hidden" name="id" value="$key"/>
<input type="submit" name="do" value="follow" data-theme="a"/>
</form>';
?>
I am trying to style this echo section. I have it outputting to another PHP file that is framed in HTML div tags. How would I go about this? I have everything else on the page styled correctly except for this output.
Edit** I edited the code, that’s a form. But anyway, I have another php file that is referencing this php code and on the 2nd php file it is wrapped in html and the div tag on that page shows the echo from this page but I can’t get the css to work on that other file. And I have tried #follow. no luck.
create your own function:
And when you want to echo something just write
myecho("my message");