Re: Problem displaying a mysql database field

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, June 20, 2006 4:02 pm, Don wrote:
> I have a varchar field in a MySQL database that contains a line of
> text like
> so:
>
> "This is a line if text"
>
> The double quotes are included in the database field.
>
> I cannot seem to display it on my HTML page, it always shows as blank.
>  I
> have tried using both the stripslashes() and the html_entity_decode()
> but it
> still shows as blank.
>
> How can I display this please???

There is nothing you've said so far that would exhibit the symptoms
you describe...

Now, if the field also had < in it, so the browser was showing it as
an HTML tag, then you'd see "nothing"...

The best guess so far has been to use htmlentities, but, indeed, that
cannot be the "whole" answer if what you have posted is correct...

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux