i want to be able to add $rusercolor into my txt file without it changing to what i have $rusercolor set to
try using the escape character '\$rusercolor'
reg kevin
hmmm, didn't seem to work, this is my code,
$newitem2 = $_POST["name"]."|^|".$rusercolor."|^|";
right now it posts this into my database file
nameintextbox|^|#0000FF|^|
i want it to post
nameintextbox|^|$rusercolor|^|
Try using
$newitem2 = $_POST["name"]."|^|$rusercolor|^|"; or $newitem2 = $_POST["name"]."|^|\$rusercolor|^|";