Click to See Complete Forum and Search --> : MySQL - need to pull records with url's in them?


Kameleon
10-19-2006, 07:01 PM
Hello,
Using PHP and MySQL, I am doing a simple query which picks records out of a database and puts them into an associative array. The data includes records that contain internet addresses such as "http://www.andyadresss.com/folder/file.avi". It all works fine on my local server, but when I upload it onto our hosts, all the url fields dissapear from the results, but the rest of the data is there.
Can anyone help me please? I have a feeling that there must some kind of addslashes or encode style function or something to make the query much more solid.

Thankyou.