|
| |
below html/mysql syntax is correct: building links from php vars ?
View related threads:
(in this forum
| in all forums)
|
Logged in as: Guest
|
|
|
lsfphelpls
Posts: 465 Joined: 3/16/2005 Status: offline
|
below html/mysql syntax is correct: building links from... - 11/25/2007 6:57:13
Can you tell me how to get values [eg. $photo=image3, $details=link3] from database table to build an image and a link ? below html/mysql syntax is correct ? <? ... $photo = mysql_result($result,$i,"photo"); $details = mysql_result($result,$i,"details"); ...?> [$photo=image1] <img src="/images/search/.htmlentities($photo)..jpg" alt="h" width="200" height="132" /> or [$photo="/images/search/image1.jpg"] <img src="<?= $photo ?>" alt="h" width="200" height="132" /> is it correct to save urls in mysql tables or php vars ? same implies to below ? <a href="/apartments/akamasvillageargaka.php<?= $details ?>">
|
|
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
|
|
|