12-08-2007, 03:00 PM
|
#3 (permalink)
|
|
The Contributor
Join Date: Oct 2007
Location: US
Posts: 66
Thanks: 19
|
Wouldn't I still have to echo the get_post function in order for anything to show up? And Isn't return doing the same thing as echoing?
EDIT: Got it :) I still echoed the get_post, but in the actual function, I used echo instead of return. :)
EDIT:
Is there an easier way to define the stuff, instead of this?
PHP Code:
$this->title = mysql_result($post_query,'0',"title"); $this->post = mysql_result($post_query,'0',"post");
|
|
|