Below is the setup/story, but the question is how do I put in a php variable as the value of a form input?
For the life of me I can't figure out how to put in a hidden form with a PHP value. here is what i want to have work
PHP Code:
<input type="hidden" value="<?php echo $invite; ?>" name="invite">
which is supposed to hold the value of how many invite codes the user has.
Only problem is, when i go to check the source (and attempt to echo the value), it says "Resource id #5"
So how can i put in $invite as the value?