Hello..
Here is what I'm trying to do:
I store this into my SQL server as a text or varchar:
DATA UPDATE USERINFO PIN=4141\tName=RemoteDude\tPri=0\tPasswd=4455\tCard=1231\tGrp=1\tTZ=6
I retrieve it and store it as a variable called $cmdtxt
why I try to print it.. it prints with all of the formatting commands (\t in staid of a TAB)..
Here are some things I have tried:
echo '<pre>';
printf ($cmdtxt);
echo '</pre>';
I want this to print with tab spaces between each value, so it looks like this:
DATA UPDATE USERINFO PIN=4141 Name=RemoteDude Pri=0 Passwd=4455 Card=1231 Grp=1 TZ=6
How can I go about this?
Whatever the answer it it also needs to be compatible with: header('Content-type: text/plain')
Ideas?
Thanks.