navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
FrontPage Alternative
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Free FrontPage Templates

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

 

how to (after get values from database table), build an img?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> ASP and Database >> how to (after get values from database table), build an img?
Page: [1]
 
lsfphelpls

 

Posts: 465
Joined: 3/16/2005
Status: offline

 
how to (after get values from database table), build an... - 11/23/2007 4:07:44   
Can you tell me how to (after get values [eg. $photo=image3, $details=link3] from database table), build an image and a link ?
$photo = mysql_result($result,$i,"photo");
what mysql/html syntax to use ?

<img src="../polis-land/images/search/ <?= $photo ?> .jpg" width="200" height="132" />
image3
all search results images are in ../images/search/ . is needed get from db table "image3" or "image3.img" or the whole url ? same stands for hyperlink ?
<a href="../polis-land/apartments/<?= $details ?>">
akamasvillageargaka.php
Page:   [1]

All Forums >> Web Development >> ASP and Database >> how to (after get values from database table), build an img?
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts