newbie14 0 Posting Pro

Dear All,
I am setting dynamically a function call in my php as like this onClick=selectAndUpdate('".$row1[serialNo]."','".$row1[bC]."','".$row1."','".$row1[pattern]."'); Then when I run I get this error unterminated string literal selectAndUpdate('EA13','GY','210/60R. That means my third value from the db got problem due to the slash right? How to overcome this?

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.