+ Reply to Thread
Results 1 to 3 of 3

Thread: Excel - mysql_real_escape_string equivalent

  1. #1
    Registered User
    Join Date
    06-13-2011
    Location
    Neston, England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    29

    Excel - mysql_real_escape_string equivalent

    Hi all,

    Is there an equivalent to the PHP function mysql_real_escape_string () in excel. I am uploading an excel spreadsheet's data into an SQL database. I am having a problem with a few characters such as the degree symbol. Also some texts include apostrophies. So it needs those characters to be turned into their escape codes.

    As I say does anyone know of the equivalent, or any good functions for doing this. I have found some on the net but they tend to focus on individual characters rather than a full approach. Ideally a function call that does it would be best solution.

    Thanks
    Last edited by Wongadob; 11-23-2011 at 11:14 AM.

  2. #2
    Registered User
    Join Date
    06-13-2011
    Location
    Neston, England
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    29

    Re: Excel - mysql_real_escape_string equivalent

    Still not had any replies to this. Urgently needed!

  3. #3
    Valued Forum Contributor Kyle123's Avatar
    Join Date
    03-10-2010
    Location
    Leeds/Sheffield, England
    MS-Off Ver
    Excel 2003
    Posts
    1,031

    Re: Excel - mysql_real_escape_string equivalent

    Not that I'm aware of but you can use replace() to replace any illegal characters
    Click the * below to say thanks

    Girls sleep with guys who use photoshop, but marry the ones who work with Excel

    Corduroy
    pillows: They're making headlines!

    Did you mean: recursion
    http://www.google.com/search?hl=en&q=recursion

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.2.0