Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Old 12-13-2009, 09:03 PM Table Code Issue...
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
I just want to get this right, and it will be case closed for the this entire flare up of coding help:

<b>UPDATE:</b>

The <img src part is not echoing the image, instead it's echoing a 'broken image' and the path to the image is now: http://localhost/scripts/images/%3E and if I remove the extra > in the img src path than the path is just http://localhost/scripts/images/ and doesn't display the actual image from the db.

HTML Code:
<td align="center" valign="top">
<table border="0" align="center">

<tr><td align="center"><img src="http://www.webmaster-talk.com/images/<?php echo $row['element_5']?>>" border="1"/></td></tr>
<tr><td align="center" valign="middle"><?php echo $row['element_1']?></td></tr></table><td>
Just curious if anyone has a solution to this?
Thanks guys!
__________________
Made2Own

Please login or register to view this content. Registration is FREE

Last edited by Brian07002; 12-13-2009 at 10:16 PM..
Brian07002 is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 12-14-2009, 09:32 AM Re: Table Code Issue...
Experienced Talker

Posts: 48
Name: Pieter
Location: Holland
Trades: 0
PHP Code:
<td align="center" valign="top">
<table border="0" align="center">
<tr><td align="center"><img src="http://www.webmaster-talk.com/images/<?php echo "$row['element_5']"?>" border="1"/></td></tr>
<tr><td align="center" valign="middle"><?php echo "$row['element_1']"?></td></tr></table><td>
If adding quote's does'nt work, try checking if the var is filled correctley.
elcosmo is offline
Reply With Quote
View Public Profile
 
Old 12-17-2009, 05:30 PM Re: Table Code Issue...
Banned

Posts: 421
Location: Boston, MA
Trades: 1
This line is wrong:
Quote:
<tr><td align="center"><img src="http://www.webmaster-talk.com/images/<?php echo $row['element_5']?>>" border="1"/></td></tr>
You are using double closing angle brackets >>. Then you have border which need to be inside the img closing >. Try this:

Quote:
<td align="center" valign="top">
<table border="0" align="center">

<tr><td align="center"><img src="http://www.webmaster-talk.com/images/<?php echo $row['element_5']?>" border="1"/></td></tr>
<tr><td align="center" valign="middle"><?php echo $row['element_1']?></td></tr></table><td>

Last edited by webcosmo; 12-17-2009 at 05:32 PM..
webcosmo is offline
Reply With Quote
View Public Profile Visit webcosmo's homepage!
 
Old 12-17-2009, 06:17 PM Re: Table Code Issue...
Brian07002's Avatar
Defies a Status

Posts: 2,162
Name: ...
Location: ...
Trades: 0
This entire section is resolved,

Thank you all who have replied!
__________________
Made2Own

Please login or register to view this content. Registration is FREE
Brian07002 is offline
Reply With Quote
View Public Profile
 
Reply     « Reply to Table Code Issue...
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.17028 seconds with 12 queries