html5 - Creating a link from my DB saved text with PHP -


i bit stumped. want

  1. get "directory/filename space.pdf" db (done)
  2. create page displays list of available pdf's (here fault lies)

    $stringoptions= $stringoptions. "<li><a href=". rawurldecode ($row['doccontent']) .">". $row['docdata'] ."</a></li>"; 
  3. display php page in html. (done)

the links generated www.thedomain.com/documents/filename , rest with space.pdf lost. or creates link /documents/filename+with+a+space , .pdf cut off , domain lost.

i tried encodeurl , rawencodeurl correlating rawdecodeurl , decodeurl functions url never created. have read php manual not enough coder see other functions could/should use. or direction please.


Comments

Popular posts from this blog

php - failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request -

java - How to filter a backspace keyboard input -

java - Show Soft Keyboard when EditText Appears -