September 14th, 2000, 12:52 AM
I'm passing strings from one page to another. Basically, users vote for their top 10, and their votes are displayed on the next page. The things they vote for are school names. Everything is ok, if they do the standard voting.
However, if the users can't find an option they like, they can vote for "OTHER". Then they are taken to an intermediate page, where their picks are displayed except their is a text box for them to fill in for the OTHER school. Everything on this form is displayed correctly. However, once they submit this form, when they go to the final page with all of their picks displayed anyschools that had two word names, ie Lousiana State are now only displayed as one word ie Lousiana. This baffles me because on the page previously, it says Louisiana State correctly. All I'm doing is then passing this variable as a hidden type to the final page. Does hidden truncate second words for some reason????
I have magic quotes off.
September 14th, 2000, 05:14 AM
Are you missing double quotes in your input text box( i mean hidden fields)?
<input type="hidden" name="state" value="Lousiana State">
Make sure that value is inside the double quotes!!
www.jobxyz.com-IT Career Portal
"The fear of the LORD is the beginning of knowledge..."
September 14th, 2000, 08:59 AM
September 14th, 2000, 02:29 PM
It was the quotes.
I was echoing the variables.
echo "<input type=’hidden’ name=’team[$i]’ value=’$team[$i]’>";
but I didn't have the single quotes in there.
Everything worked fine except the double words.
Thanks for the help.