Jump to content
xisto Community
Sign in to follow this  
kvarnerexpress

Resource

Recommended Posts

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.