<P> tag within PHP to output PHP var?
Go to solution
Solved by Syntaxvgm,
what you're missing is concatenation. Also, extra semicolon
Now, I'm really tired, so I may written this down wrong, but something like this
echo '<p class="added_text"> Sailor' $first $last ' added Successfully to team ' $team ' </p>;';
should be
echo '<p class="added_text"> Sailor' . $first . $last .' added Successfully to team '. $team .' </p>';
edit
see forgot a period. Done goofed, hope it's right now. I could be way off.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now