Quote:
Today at 07:44 PM Erwin said this in Post #141
That's weird... if you'ven put the variables in the right place there should be no blanks. Did you do this:
$answer3="$bbuserinfo[username]";
|
Well....... no, I didn't do it that way. Guess that's why it didn't work.
In my "post" template, I had it down like this:
$question1: $bbuserinfo[ username]
$question2: $answer2
$question3: $answer3
$question4: $answer4
---------------------------
Though I hard-coded the $bbuser-thing into the "post" template and didn't input an answer for question 1 in the main form template ... I didn't use an $answer1 variable at all, so I had not defined $answer1 in the php file.
The form that posted looked like this:
(1) Your Username: Talisman
(2) Your first name: Susan
(3) Your boat name:
(4) Your country flag: USA
Every time I tested it, the boat name ($answer3) came up blank when it exactly matched the content of my $bbuserinfo[ username] variable.
I confirmed this by entering a different boat name (that didn't match my username). When the $answer3 boat name was different from the username..... it worked.
Now, I'll go try it the way you showed, Erwin.
Be back soon to let you know how that turns out.
Cheers!