Title: Dynamic Hyperlink Strange Behaviour
Last modified: December 6, 2021

---

# Dynamic Hyperlink Strange Behaviour

 *  Resolved [aroberts77](https://wordpress.org/support/users/aroberts77/)
 * (@aroberts77)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/dynamic-hyperlink-strange-behaviour/)
 * Hi Peter,
 * I have found some strange and inconsistent behaviour with dynamic hyperlinks 
   that are not working in Publications. I’ve narrowed it down to a problem that
   happens if the column being substituted (ie between the ‘$$’s) is not itself 
   included in the list of columns for publication, but is a substring of another
   column that IS included (or a column that has been picked up earlier in the hyperlink
   definition, or in an earlier hyperlink even). If this is the case, the substitution
   is not evaluated, and the value appears as $$<column_name>$$ in the publication.
   Does this make sense?!!! (I can create an example if not).
 * To check (or discount) my theory, I had a brief look at your code, and adding
   commas around the stripos elements on line 1317 of WPDA_Data_Tables.php fixed
   it for me.
 * I’ve only been playing with WP Data Access for a couple of days, so still working
   my way around. All good so far, in fact more than good!
 * Thanks for your help.
 * Andy

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

 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/dynamic-hyperlink-strange-behaviour/#post-15136775)
 * Hi Andy,
 * Thank you for taking the time to report this issue! And thanks for your solution!
   😊 I will fix this with the next update and let you know when it is released.
 * Best regards,
    Peter
 *  Plugin Author [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * (@peterschulznl)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/dynamic-hyperlink-strange-behaviour/#post-15142053)
 * Hi Andy,
 * Version 5.0.2 was released today and contains a fix for the issue you reported.
   Please update to install the fix.
 * Thanks again,
    Peter

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

The topic ‘Dynamic Hyperlink Strange Behaviour’ is closed to new replies.

 * ![](https://ps.w.org/wp-data-access/assets/icon-256x256.png?rev=3299063)
 * [WP Data Access – App Builder for Tables, Forms, Charts, Maps & Dashboards](https://wordpress.org/plugins/wp-data-access/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-data-access/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-data-access/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-data-access/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-data-access/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Passionate Programmer Peter](https://wordpress.org/support/users/peterschulznl/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/dynamic-hyperlink-strange-behaviour/#post-15142053)
 * Status: resolved