View Single Post
Old 12-17-2007, 05:13 AM   #1 (permalink)
Andrew
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