Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online
3 registered (Ruben, Kayjey, SteveS), 34 Guests and 14 Spiders online.
Key: Admin, Global Mod, Mod
Featured Member
Registered: 12/20/03
Posts: 4420
Top Posters (30 Days)
Ruben 49
DennyP 24
Gizmo 24
Dunny 17
SteveS 14
AllenAyres 12
dbremer 10
SD 9
drkknght00 9
driv 8
Latest Photos
OK Corral Shoot Out
Testing
Basildon Train Station
Basildon Town Centre looking from the rounderbout
Basildon Town Square
Topic Options
#168282 - 11/14/06 09:21 AM Spaces being removed
Basil Offline
addict
Registered: 08/18/06
Posts: 685
Loc: Southwest US
I am building a custom page using the sample template that came with V7.0 as a starting point. From the template, I pass some variables via a forum where the user slects from drop downs. However, For some reason, when the variables get passed to the scripts page, any spaces seem to get removed. So that, if an item in the drop down says "Micheal Jordan", when it gets to the scripts page the variable becomes "MichaelJordan". Then, when I pass that variable back to the template as a smarty variable, and print it with {$variable1} it prints "MichaelJordan" all scrunched together. I am using a form with the "Post" method to pass the variable to the smarty script file for my page. Anyone have any idea why the variable spaces are getting removed and is there anything I can do about it? I have also tried GET with the same results. For encyption in my form, I'm using:
ENCTYPE="application/x-www-form-urlencoded"

Any help or insight would be appreciated,

Basil
Top
Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."



Moderator:  AllenAyres, Harold, Ian, Ron M 
Shout Box

Today's Birthdays
No Birthdays
Recent Topics
Ability to "like" individual posts (not Facebook "likes)
by doug
09:03 AM
Island Permissions
by ThreadsUser
05/22/12 03:03 PM
streaming video
by prkrgrp
05/20/12 07:02 PM
New Posts Corrupted? Can someone help?
by PianoWorld
05/19/12 09:41 AM
Custom forum permissions
by ntdoc
05/18/12 02:07 PM
Forum Stats
10489 Members
36 Forums
33840 Topics
181693 Posts

Max Online: 978 @ 06/24/07 11:19 PM
Random Image