Skip to content

Instantly share code, notes, and snippets.

@sjenkinsdc
Created October 21, 2013 16:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sjenkinsdc/7086627 to your computer and use it in GitHub Desktop.
Save sjenkinsdc/7086627 to your computer and use it in GitHub Desktop.
SAXOTECH/NEWSCYCLE Sample template to demonstrate passing variables to a $S script.
// ==========================================================================================
// File: /scripts/scripttest/scripttest.php5
// Desc: for testing vars
// Author: Stacey Jenkins
// Date: 10/14/2013
//
// ==========================================================================================
$title = $SOSE->GetVar("Title");
$substrlen = $SOSE->GetVar("tagparamSubstrlen");
$substrlen2 = $SOSE->GetVar("tagparamSubstrlen2");
// Print out vars
$SOSE->Echo("title: $title<br>");
$SOSE->Echo("substrlen: $substrlen<br>");
$SOSE->Echo("substrlen2: $substrlen2<br>");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment