Spaces in MySQL

I have a .php form that writes info to the MySQL DB. My question involves blank space handling. I am writing to the DB fine…i.e., if I have intials GDP or G P it gets to the DB fine but when getting the data back to the .php page…it is dropping everything from the space on. I am new to both .php and MySQL. Thanks for the help.

DS

I found the error in my ways…I was using “$variable” instead of $variable