SMITH stands for the first name - $Lname
FR3242SDSMI for the Transaction ID - $Tid
How can I define this variable? Because it won't work with the "-" which unifies the two. Can somebody help?
Code: Select all
$file_name=$_POST["Lname-Tid"];Moderator: General Moderators
Code: Select all
$file_name=$_POST["Lname-Tid"];Code: Select all
$file_name = "{$_POST['Lname']}-{$_POST['Tid']}";
astions wrote:Code: Select all
$file_name = "{$_POST['Lname']}-{$_POST['Tid']}";