Jump to content

echoing link code


CircularStopSign

Recommended Posts

alright guys, this is finally what iput down and it works. thanks guys

[code]
if(move_uploaded_file($_FILES['uploadedfile']['tmp_name'], $target_path)) {
    echo htmlentities('<a href="http://www.hostmapics.com/"><img src="http://hostmapics.com/');
echo $target_path;
echo htmlentities('"></a>');
} else{
    echo "There was an error uploading the file, please try again!";
}[/code]
Link to comment
https://forums.phpfreaks.com/topic/19640-echoing-link-code/#findComment-85750
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.