![]() |
| HTML | PHP Scripts | Webmaster Tools | Webmaster Forums | Web Hosting | Domain Names | Webmaster Books |
|
|
#1 |
|
New Member
Join Date: Apr 2003
Webmaster Discussions: 15
Rep Power: 46 ![]() |
Displaying records on a template like thing
Hi everybody,
I'm new to this board and of course to php, very first post here: I'm trying to display the records from a table and i'm successful too.But, i dont want to display them in a table format - but in some pretty good way. I've attached the attachment as an image like how i want to display.So, each record shld fit in a nice template like thing.How should i modify my code to show something like that, is it really hard?? Thanks one and all. Also, I would like to show my code which i've so far: PHP Code:
|
|
|
|
|
|
#2 |
|
Administrator
|
Creating a proper template system is not 'hard' as such, but it is a lot of work. You will need a full tutorial, this one is good -
http://www.phpdeveloper.org/view_tut.php?id=50 Otherwise, you can continue what you are doing, layout your database results using HTML in the php code. However, you may want to think about exclusively using CSS for your styling and layout, that way you can let CSS be your template system..
__________________
If one of our members helps you, please click the icon to add to their reputation!No support via email or private message - use the forums! Before you ask, have you Searched? |
|
|
|
![]() |
| Bookmarks |
| Tags |
| displaying, records, template, thing |
| Thread Tools | |
| Rate This Thread | |
|
|
Similar Webmaster Discussions
|
||||
| Thread | Webmaster Discussion Starter | Forum | Replies | Last Post |
| inseting records to a database through html code... | nawaray | ASP Forum | 24 | 10-26-2007 06:14 AM |
| 78 rpm records | HTML | General Discussion | 2 | 03-08-2007 03:31 PM |
| Script database 29,000 Records for sale | zhisede | Websites For Sale | 1 | 02-20-2006 09:12 AM |
| Deleting records | minds_gifts | PHP Forum | 5 | 04-22-2003 11:54 AM |