| | |||||
| ||||||||
| Webmaster Tutorials Instructional webmaster-related how-to's and tutorials. |
![]() |
| | LinkBack | Thread Tools |
| | THREAD STARTER #1 (permalink) |
| NamePros Regular Join Date: Sep 2005 Location: At Home
Posts: 881
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() | Php Links + images form Mysql db I know i was having troubles with this a while ago but as i found a way in a php book on how to solve it i thought i will share it. lets say your db has a coloumn for websites and another for images and you want to make a list that displays all the info in the db including the website as a link and an image. well here is how to do it: PHP Code: In Part 2 we print the data out that we stored before as variables. so it will view a block containing id,name,email,website,brief discription and an image. For the link i used: PHP Code: the same with the image image tag with a variable for the acctual image. so it looks like this: PHP Code:
__________________ |
| |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Great Scripts for Sale With Resale Rights! | Zeeble | Scripts For Sale | 20 | 01-04-2006 01:39 AM |
| FREE Web Directory Script * Hot Links Sql ! | Ferman | Domains For Sale - Make Offer | 3 | 12-04-2005 11:57 PM |
| Hot Links SQL ( Web Directory Script ) License with $24.95 discount | Ferman | Scripts For Sale | 1 | 10-23-2005 12:17 AM |