I have a php code here and I would like to create a "back" href to get me back to where I was before. Here\'s what I have:
If you want to do it (what I think you are trying right now) then replace this line
"Back"
with this
Back
If you don't want to rely on JavaScript then you could get the HTTP_REFERER variable an then provide it in a link like this:
HTTP_REFERER