View Single Post
Old 12-07-2006, 01:26 AM   #1 (permalink)
tommyboy123x
 
Ultra Techie

Join Date: Sep 2005

Posts: 638

tommyboy123x is on a distinguished road

Send a message via AIM to tommyboy123x
Question A Really Easy Php Question

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?
__________________

Some real (as in actual) surveys that pay money!
tommyboy123x is offline