16-Oct-2013, 08:40 AM
Hello,
I'm trying to pass on usernames like this:
I'm trying to pass on usernames like this:
PHP Code:
<?php
$cmtx_set_name_value = $username;
$cmtx_identifier = $id;
$cmtx_reference = $map;
$cmtx_path = 'comments/';
define('IN_COMMENTICS', 'true'); //no need to edit this line
require $cmtx_path . 'includes/commentics.php'; //no need to edit this line
?>
The variable $username displays the right thing when echo'd right above $cmtx_set_name_value.
Also, I set 'Name' to 'Disabled' in Forms -> States, but the Name field is still showing up (and working). Hiding also doesn't work.
If I type in a username it's using that, instead of my variable.
Why isn't this working?
Thanks,
Tom