help with link from mysql

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

 



Hello All,

 

I have a situation where I am storing data to a blob field. Everything works
in respect to in and out of the DB, however when we type in a link like so

HYPERLINK
"http://www.abc.com/subfolder/folder2/"http://www.abc.com/subfolder/folder2/

 

the link stops at the domain, so the subfolder/folder2 is merely text at the
end of the url, and not part of the link.

 

 

When I write the data to the table I do this:

$body = addslashes($HTTP_POST_VARS['body']);


When I read the data from the table I am doing this:

'body'                  => stripslashes(nl2br(makeLinks($row['body']))),

 

 

Can someone let me know what I’m doing wrong, or how to work around this?

 

Thanks!

 

Joey

 


No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.503 / Virus Database: 269.15.24/1115 - Release Date: 11/7/2007
9:21 AM
 

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