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] Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.