systematic
Forum Replies Created
-
Forum: Plugins
In reply to: wp_delete_post change TO post_status_updateexcellent
Thanks kolucciy, vean
Forum: Fixing WordPress
In reply to: Pass custom var in urlIn 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’
Forum: Fixing WordPress
In reply to: Pass custom var in urlMy 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:
http://myblog.com?merchant=xyzI 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
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