Irvine263 Posted March 15, 2014 Share Posted March 15, 2014 Dear Friends Its my pleasure to be on this platform, my greetings to you all. Am facing some challenges with my script. Am currently using dreamweaver and i don't have any problem by using dreamweaver to display image saved in a folder and the path in database. The problem that i have is the script to display data vertically, when using dreamweaver. So here my script to display data vertically, the problem is that it only display image path name. I have tried <img src="images/$row_recordset1['image']" >; but i failed and also played around the code. I have indicated where i have problem with NB To all Gurus, Captains, God Fathers, Masterminds, bla bla bla bla bla Please help me Thanx php f.htm Link to comment Share on other sites More sharing options...
Ingolme Posted March 15, 2014 Share Posted March 15, 2014 You haven't wrapped the string in quotation marks on this line: echo <img src="images/$row_recordset1['image']" >; 1 Link to comment Share on other sites More sharing options...
Irvine263 Posted March 18, 2014 Author Share Posted March 18, 2014 thanx foxy, what about adding a link. I have tried to place dreamweaver code and its not working. so help me on this one please echo"<font face= "calibri" size="4">"; NB------------------------echo "<a href="$row_recordset1['product']"> "$row_recordset1['product'] " </a>'; ------------------------- echo "</font>"; echo "<br/>"; dreamweaver code <img src="logo/<?php echo $row_recordset1['photo']; ?>" alt="<?php echo $row_recordset1['companyname']; ?>" width="100" height="60" /> this code works well when am using dreamweaver, but with the code above, it's not working Link to comment Share on other sites More sharing options...
Ingolme Posted March 18, 2014 Share Posted March 18, 2014 You have mismatched quotes again, which should be clear in a color coded editor echo "<a href="$row_recordset1['product']"> "$row_recordset1['product'] " </a>'; Here's the PHP manual page on strings, how to print then, put variables in them and how different delimiters work. Please read it carefully. Link to comment Share on other sites More sharing options...
Irvine263 Posted March 20, 2014 Author Share Posted March 20, 2014 thanx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now