Re: Problem displaying a mysql database field

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

 



Don wrote:
> Hi,
>  
> 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???

post some code and maybe someone can help.

also use var_dump() et al to dump the contents of the vars/vals you
retrieve from the DB - that might give you a clue.

and lastly have you tried do 'view source' in order to try and understand
what might be going on?

>  
> Tks,
> Don
> 

-- 
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