Re: Outputting a string from mysql database
| From: | The Walters | Date: | Tue, 16 Apr 2002 11:17:19 +0000 |
| Subject: | Re: Outputting a string from mysql database | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-13123@lists.php.net to get a copy of this message | ||
I would try a type cast of string
echo (string) $result[0];
"Q" <quincy24@hotpop.com> wrote in message news:3CBBEBBA.200@hotpop.com...
> I have a field in a mysql table called table which is called names.
> Examples of the information in this column :
>
>
> Name
>
> Lottery Company
> Mark MiniMark
> J B's Supermarket
>
>
> I connect to the datbase successful and I use the following php line to
> get the information from the row: $row_info=mysql_fetch_row($result)
>
> Howevere when I try to output J B's Supermarket to the web page all I
> get is J B. How can I get the entire display on the screen including the
> ' in the name?
> quincy
>