Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: SQL Patch question - help please!

    As long as each-and-every-one of the ampersands in your categories' names are singular, e.g. This & That. If any of your categories' names already include the htmlentities, e.g. This & That, then your query will result in the & being double-escaped: This & That.

  2. #12
    Join Date
    Jul 2012
    Posts
    16,816
    Plugin Contributions
    17

    Default Re: SQL Patch question - help please!

    Thinking could add a criteria to the where statement (or pretest for such existing conditions) such as
    Code:
    AND categories_name not like '%&%'
    ZC Installation/Maintenance Support <- Site
    Contribution for contributions welcome...

  3. #13
    Join Date
    Sep 2009
    Location
    Stuart, FL
    Posts
    13,892
    Plugin Contributions
    96

    Default Re: SQL Patch question - help please!

    You could, but what about the other HTML symbols, e.g. &lt;? That will be converted to &amp;lt;.

  4. #14
    Join Date
    Apr 2010
    Posts
    900
    Plugin Contributions
    0

    Default Re: SQL Patch question - help please!

    Haha! I found that out the hard way!

    It worked for categories because no other instances of '&' existed, such that it was being used for html entities. So I then applied it to a zillion product titles, many of which were using it.

    DOH!

    Thank you so much for your input!

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. v139h Upload SQL Patch via phpMyAdmin in MySQL INSTEAD OF Amin-Tools-Install AQL patch ????
    By shags38 in forum Customization from the Admin
    Replies: 11
    Last Post: 20 Aug 2012, 04:19 AM
  2. v139h SQL question... help please!
    By Feznizzle in forum General Questions
    Replies: 4
    Last Post: 3 Mar 2012, 10:31 PM
  3. SQL Patch Help
    By seeinteriors in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 24 Jan 2012, 04:34 PM
  4. Product listing - colunms sql patch help
    By viatell in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 5 Jun 2009, 04:26 PM
  5. Application of SQL Patch question
    By brad512 in forum Upgrading from 1.3.x to 1.3.9
    Replies: 4
    Last Post: 17 Sep 2006, 12:52 AM

Posting Permissions

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