Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)
  • excellent

    Thanks kolucciy, vean

    In case it helps anyone else like me with little coding knowledge I achieved my objective by defining the variable using
    $q = (isset($_GET[“q”])

    where q is the merchant defined in the url

    The sql simply included the command WHERE merchant = ‘$q’

    My objective is to show content of external database on a wordpress page.

    I have created a page template that includes php and an sql query that will query a non wordpress database on the fly. I wish to control the ouput of this page by getting a variable from the url.

    For example a url linking to this page may look like this:
    https://myblog.com?merchant=xyz

    I would then like to grab the “merchant” variable and insert into the sql code on the page template.

    I have tried

    WHERE merchant = ‘<?php echo $_GET[“$merchant”]; ?>’

    without success

    Are there any suggestions?

    Many thanks in advance

    Forum: Plugins
    In reply to: 500 error

    I have found that I get a 500 Internal Server Error when this plugin is used in conjunction with the all-in-one-seo-pack plugin.

    Both plugins appear to work ok but the 500 Internal Server Error occurs on the plugin admin page.

    Hope this helps

Viewing 4 replies - 1 through 4 (of 4 total)