kvarnerexpress 0 Report post Posted August 2, 2005 I have a form on my website that posts a URL for a website for an ad that I am creating with this form (along with a lot of other data). Once the post is made, I call a function to create the ad and pass in the URL and other data. Inside this function, I esacape the data using mysql_real_escape_string($data, $link) for each text field input by the user. Then I create the query and insert the new escaped data version of the variable into the db. All of the items I am inserting have the correct values inserted into the db except the URL, which has Resource id #11 inserted in its place. I have tested a number of times and have no idea why this is happening.Does anyone have any idea why this is happening and how to fix this issue? Any help would be great. Thanks. Share this post Link to post Share on other sites