Thread: PHPMyAdmin Help

Results 1 to 3 of 3
  1. #1
    Join Date
    Jul 2006
    Posts
    93
    Plugin Contributions
    0

    Default PHPMyAdmin Help

    I want to append a phrase to the end of ALL the product descriptions in my cart. I have NO experience whatsoever with MySQL, but I recognize the benefit of doing a database edit to accomplish this. could someone help me figure out what the correct command would be?
    -Josh

  2. #2
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: PHPMyAdmin Help

    I'm sure it's possible to do this through the database, but I can't help you with how; nor am I sure it would be the most efficient way.

    A way that would be direct and relatively efficient would be to edit /includes/templates/your_template/templates/tpl_product_info_display.php:
    PHP Code:
    <!--bof Product description -->
    <?php if ($products_description != '') { ?>
    <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description); ?>.</div>
    <?php ?>
    <!--eof Product description -->
    Add after stripslashes($products_description) the following: ." Your end phrase."
    PHP Code:
    <div id="productDescription" class="productGeneral biggerText"><?php echo stripslashes($products_description)." Your end phrase."?>.</div>
    Note: not yet tested.

  3. #3
    Join Date
    Jul 2006
    Posts
    93
    Plugin Contributions
    0

    Default Re: PHPMyAdmin Help

    Thanks gjh42! The idea worked great, although I added my info in a different place.

 

 

Similar Threads

  1. v150 Local System crashed,got data back up from hard drive, need help on phpmyadmin,zencar
    By Ravins in forum Installing on a Windows Server
    Replies: 0
    Last Post: 28 Apr 2012, 10:54 PM
  2. v150 HELP.. killed my phpmyadmin when trying to reset password.. now nothing works
    By thecounsil in forum Installing on a Linux/Unix Server
    Replies: 27
    Last Post: 24 Apr 2012, 07:14 PM
  3. HELP!!! Starting upgrade killed my phpmyadmin access
    By OrcaSoul in forum Installing on a Windows Server
    Replies: 1
    Last Post: 2 Feb 2011, 05:22 AM
  4. Need help w/ SQL query in phpMyAdmin
    By audradh in forum General Questions
    Replies: 17
    Last Post: 16 Nov 2009, 01:05 PM
  5. phpMyAdmin database tables export/import for categories ect. help
    By oxicottin in forum Installing on a Windows Server
    Replies: 0
    Last Post: 2 Sep 2007, 10:46 PM

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