html5 - Creating a link from my DB saved text with PHP -
i bit stumped. want
- get "directory/filename space.pdf" db (done)
create page displays list of available pdf's (here fault lies)
$stringoptions= $stringoptions. "<li><a href=". rawurldecode ($row['doccontent']) .">". $row['docdata'] ."</a></li>";
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
Post a Comment