any idea how I can get a string to return from an ajax call taking the href from an object using: (javascript)

$('herpy').attr('href').toString() 

into a PHP controller as a string so it can be used as a parameter in sql code?

Everything I try results in this bizzarre array being created once the data is passed. No matter what !

Cheers!

Ok guys after 20 minutes more of tinkering arround I was able to figure it out. Doing what I was orignally doing... O_O

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.