By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,826 Members | 1,333 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,826 IT Pros & Developers. It's quick & easy.

how to read datas retrieved from database?

nirmalsingh
100+
P: 218
hi all,
here is my coding,
[PHP]
$t->set_block("page", "home_page_content", "home_page_content_blck");
$t->set_var("home_page_content_blck", "");
$qid_home = new PGM_Sql("select home from contentmanagement");

$qid_home->next_record();
$t->set_var(array("home_page_text" => $qid_home->f("home")));

$t->parse("home_page_content_blck", "home_page_content", true);
[/PHP]
how could i read the data that is retrieved from field home in table content management?
i make echo in $t, $qid_home but both returns an object.
Jan 30 '07 #1
Share this Question
Share on Google+
1 Reply


ronverdonk
Expert 2.5K+
P: 4,258
You are not using standard PHP mysql_ commands, but some sort of class to do your MySQL handling. Since I don't know what class that is or how it is to be used, I cannot help you here.

Look in the documentation of that class you use, that should answer your question.

Ronald :cool:
Jan 30 '07 #2

Post your reply

Sign in to post your reply or Sign up for a free account.