jarv
07-30-2008, 12:24 PM
is there anyway I can make these ASP functions into PHP functions and how would i use them?
Function EncodeSQL(VarVal)
EncodeSQL=Replace(VarVal,"'","`")
End Function
Function DecodeSQL(VarVal)
DecodeSQL=Replace(VarVal,"`","'")
End Function
Function EncodeSQL(VarVal)
EncodeSQL=Replace(VarVal,"'","`")
End Function
Function DecodeSQL(VarVal)
DecodeSQL=Replace(VarVal,"`","'")
End Function