i'm trying to explode my variable but it has a single quote which is invalid in my mysql syntax. can u help me how to explode a single quote??

list($a, $b) = explode("'", $des);

why you are using list()?
to retriev result fro the explode("'",$des);
just store in variable...
It will work....

Like the guy above says you dont need to use list...You need to escape the ' though with a \

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.