View Single Post
  #3   Spotlight this post!  
Unread 01-04-2003, 21:55
Jack's Avatar
Jack Jack is offline
FIRST Scouting Network
AKA: Andrew Schenk
FRC #0201 (The FEDS)
Team Role: Alumni
 
Join Date: Feb 2002
Rookie Year: 2002
Location: Rochester Hills
Posts: 643
Jack is a jewel in the roughJack is a jewel in the roughJack is a jewel in the rough
Send a message via AIM to Jack
Hey, thanks for pointing out that error. Your soultion is a bit overcomplacated. I designed the script to be inserted into my MySQL DB. I then changed it so that it could be output to a browser. The real problem was that in forgot the <br /> tag on the end of one of the lines

$var = strip_tags($var); //return the team name
echo $var;

to

echo trim(strip_tags($var)).'<br />'; //return the team name


hehe, yeah... thanks again for catching it. (You way's cool too )

and as you can see in that fix, you might want to make sure that you run all the $var's though trim() to kill any whitespace as i forgot to do a few times.
__________________
Team 201 - 2003 Great Lakes Semifinalists & 2003 Archimedes Division Finalists :|: Webmaster of www.feds201.com -> FBI Scouting
Winner of The 2003 ChiefDelphi Web Award for: User That Started The Most Non Chit Chat Threads
Winner of: 2003 FIRST Ventures with 5451.68 End Points

All about me: http://knehcsa.vze.com
**Check out the New FIRST Scouting Network**