Hello, I have a db where I saved the name of uploaded files. In order to display that image I want to state the path and add the filename from the db. Below is my code and where the problem is. $path = "example.com/CodeIgniter_1.7.2/uploads/" $image = "<img src="$path.''.$row['image'].'" WIDTH=300 HEIGHT=250>"; Code (markup): Any help would be greatly appreciated.
$path = "example.com/CodeIgniter_1.7.2/uploads/"; $image = "<img src='" . $path . $row["image"] . "' WIDTH=300 HEIGHT=250>"; PHP:
Quick note, to further on ATmega code make sure you define a path if the downloaded content is above the root which is the case for most websites that dont want the downloaded content harvested by a bot