danxavier Posted November 3, 2006 Share Posted November 3, 2006 has any one tried to <img src> link an image in the dd.php script? If so, i'm trying to figure out the syntax. The field in mysql that contains the links is called "pic". This is the relevant code:[code]<ul id="sajax1" class="sortable boxy"> <?php$r = mysql_query("SELECT * FROM layout WHERE `set` = 'sajax1' ORDER BY `order` ASC");while($rw = mysql_fetch_array($r)){ echo '<li id="'.$rw['item'].'">'.$rw['item'].'</li>';}?></ul><ul id="sajax2" class="sortable boxy"> <?php$r = mysql_query("SELECT * FROM layout WHERE `set` = 'sajax2' ORDER BY `order` ASC");while($rw = mysql_fetch_array($r)){echo '<li id="'.$rw['item'].'">'.$rw['item'].'</li>';}?></ul>[/code] Link to comment https://forums.phpfreaks.com/topic/26026-image-src-links-in-ddphp/ Share on other sites More sharing options...
ober Posted November 3, 2006 Share Posted November 3, 2006 What is dd.php?? That code doesn't give us much to go on. Link to comment https://forums.phpfreaks.com/topic/26026-image-src-links-in-ddphp/#findComment-119153 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.