You must Sign In to post a response.
  • Category: Blog and websites

    php code for posting comments?

    my main aim is to get the a table id value from a database and post the the id and other comment parametres into another table in the database using php.
    waiting for your reply guys.

    Thanks in advance
    srk
  • Answers

    3 Answers found.
  • $res=mysql_quary("select TABLEID from TABLE ");
    while($row=mysql_fetch_array($res))
    {
    extract($row);
    mysql_quary("insert into TABLE2 values('".$no."','".$item1."','".$item2."','".$item3."','".$comment. "')");

    }

    SREEHARI


  • $res=mysql_quary("select table_id from table1 ");

    while($row=mysql_fetch_array($res)){

    /* Here your code */

    $query="INSERT INTO table2 SET table_2_id='$row(id)',
    name='____'";
    mysql_query($query);

    }



    ?>

  • TThis response is marked as DELETED by the admin.

    Everyone must know the importance of phd code channel followers to post college paper org website reviews. So, we can easily write comments on India study channels provided assignments and essays.


  • Sign In to post your comments