Jump to content

forward slash within quotes


rickyj

Recommended Posts

okay, its a simple question, but I have no idea how to search for this.

 

How can I put a forward slash within quotes.

 

I have a problem, a string gets converted to "xyz/" and is then put in an sql querry, how can I detect the slash, I cant use: strpos($encPass, "\" ) > -1

Since the \ makes the quotation a non surrounding quotaion.. so what can I use to detect a forward slash?

Link to comment
https://forums.phpfreaks.com/topic/78326-forward-slash-within-quotes/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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.