Question About Pictures

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
demo
Forum Newbie
Posts: 2
Joined: Wed Jul 07, 2004 11:24 am
Location: IL
Contact:

Question About Pictures

Post by demo »

When I was trying to make a picture function for a link program for my friend the picture would never show up. I dont know if I am doing this right but here is my code.

while ($row = mysql_fetch_array($query)) {
echo "<font size=\"2\" face=\"verdana\"><a href=\"?act=viewlink&id=$row[id]\">$row[title]</a> || <img scr=\"$row[picture_url]\">[\b]
[/quote]
zenabi
Forum Commoner
Posts: 84
Joined: Mon Sep 08, 2003 5:26 am
Location: UK

Post by zenabi »

What is the HTML output? (View - Source in IE)
demo
Forum Newbie
Posts: 2
Joined: Wed Jul 07, 2004 11:24 am
Location: IL
Contact:

Post by demo »

User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Post by pickle »

try just dumping $row to see what's there.
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply