how to read datas retrieved from database?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nirmalsingh
    New Member
    • Sep 2006
    • 218

    how to read datas retrieved from database?

    hi all,
    here is my coding,
    [PHP]
    $t->set_block("pag e", "home_page_cont ent", "home_page_cont ent_blck");
    $t->set_var("home_ page_content_bl ck", "");
    $qid_home = new PGM_Sql("select home from contentmanageme nt");

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

    $t->parse("home_pa ge_content_blck ", "home_page_cont ent", 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.
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    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:

    Comment

    Working...