Conditonal URL link |
8/12/2011 09:46:38 | |
| PHPRunner General questions | ||
|
D
dougperk author
I want to place a link field on my form which sends the user to a specific URL. However the destination URL needs to be dependent upon the userid of the user currently signed in. Example: (note in URL that folder of 'Calendar' name is changing |
||
|
C
|
cgphp 8/12/2011 |
|
In the visual editor swith to the HTML code and place a reference (var template) to your link like the following: {$link_form}
switch($_SESSION['UserID']) |
|