November 15th, 2012LWMW: How to pass PHP var to the content of a Modal Window
Knowledge Base support case for Likno Web Modal Windows Builder, abstracted and stripped of all user’s private info.
Initial Email From: Jack
Initial Email Subject: passing php variables
Support Case Month: October 2012
Tried to find a solution in the knowledge base but really couldn't find a way to help.
Got a simple php var that I'd like to send using Ajax rules to the content Modal page, how the heck do I do this ?
a simple url would be <a href="url.php?var=$var">
Has to be easy but searching a way for hours, I'd rather let you guys tell me how 🙂
Thanks in advance
Related URL: http://www.e-listing.ch/modaltest.php
Reply From: Likno Customer Support
You need to use the “page links” modal method:
This will open the href of your selected links within a modal window. Then in your page you can add links like this:
<a href="url.php?var=<?php echo $var; ?>" target="Modal_Window_1_single">
Likno Customer Support
Like us on Facebook – Follow us on Twitter
Reply From: Jack
Excellent and indeed works fine.