TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 12-17-2007, 05:13 AM   #1 (permalink)
The Acquainted
 
Join Date: Sep 2007
Location: Arizona
Posts: 114
Thanks: 10
Andrew is on a distinguished road
Default Need help outputting data (while making it easy to skin)

Hello,

I'm curious how you guys code your scripts/programs so it is easy to skin down the line? I was making a script today but I realized the way I was outputting all my code was an absolutely horrible way since I'm hoping to release this for free (or paid) if it ever gets to that point.

I'm a huge fan of the way wordpress does it, but I couldn't seem to get it working like how they have it such as:
PHP Code:
while (the_post()):
// have customized output code
endwhile; 
I couldn't do that, because I wasn't sure what the_post() should be outputting, and how I pass the variable in the while statement so I can list all the info (like if I output an array from the_post() and just use $aArrayVar['row']), but I couldn't get that to work either.

I'm mostly curious if anyone here has a script they release for free or for a fee, and wouldn't mind sending me an example page of code or two so I can see how it is done (OOP would be best since that's what I plan on coding it with).
Send a message via AIM to Andrew Send a message via MSN to Andrew
Andrew is offline  
Reply With Quote
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 10:49 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design