Jamroom Logo Jamroom 5 Core
is now Open Source!
Follow Jamroom on Twitter!


dbConnect Function Index dbNumberRows
dbEscapeString

The dbEscapeString function is used to prepare a string for insertion into the MySQL database. It will determine the proper PHP "slashes" function to process the data with depending on the LOCALE settings for the Jamroom Database, as well as the database connection. It will attempt to use mysql_real_escape_string whenever possible.

  • return: Returns input string with characters properly escaped
string dbEscapeString (string $data, [resource $con = false])
  • string $data: string to prepare
  • resource $con: Optional Database resource (only needed if connected to non-Jamroom database)
 Comments
You must be logged in to post a comment
Solutions Products Support Community Company
Social Media Platform
Social Networking Software
Musician Website Manager
Community Builder
Jamroom 5
Jamroom 5 Modules
Jamroom Marketplace
Support Forum
Documentation
Support Center
Contact Support
Community Forum
Member Sites
Developers
About Us
Contact Us
Privacy Policy
©2003 - 2024 The Jamroom Network