Re: [PHP] Display variable with spaces

2003-08-14 Thread Analysis & Solutions
On Wed, Aug 13, 2003 at 11:56:43AM -0400, Pushpinder Singh Garcha wrote: > echo "$email_1"; > /// However when it comes to displaying it using the table all I get is > the "thisisa" . It simply avoids the spaces. Can anyone tell me why You need to write valid HTML. Put quotes around the va

[PHP] Display variable with spaces

2003-08-14 Thread Pushpinder Singh Garcha
Hello, I am trying to display the rows of a MySql Query in a table. I retrieve the result using the query : while ($row = mysql_fetch_array($result1, MYSQL_ASSOC)) { $email_1 = $row["email_1"]

Re: [PHP] Display variable with spaces

2003-08-14 Thread Larry E . Ullman
And I try to display it in the table using this : > if I try to echo the variable $email_1, I get the correct value i.e. "thisisa long e-mail address" /// However when it comes to displaying it using the table all I get is the "thisisa" . It simply avoids the spaces. Can anyone tell me why thi

Re: [PHP] Display variable with spaces -SOLVED

2003-08-14 Thread Pushpinder Singh Garcha
Thank you so much ! it works fine now ;) --Pushpinder On Wednesday, August 13, 2003, at 12:01 PM, Larry E. Ullman wrote: And I try to display it in the table using this : > if I try to echo the variable $email_1, I get the correct value i.e. "thisisa long e-mail address" /// However when it c