User Profile

Collapse

Profile Sidebar

Collapse
nel
nel
Last Activity: Aug 14 '06, 10:59 PM
Joined: Aug 12 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • nel
    started a topic insert into table using array(for)
    in PHP

    insert into table using array(for)

    actually i want to insert for example :

    "insert in $table_name1 f$ield_name1, $field_name2, $field_name3 values $data1, $data2, $data3";

    table & field variable i get from select statement form database.
    and variable data i get from $_Request from previous page

    all this variable, i also use array(for statement).

    2. $fields = array($field1,$ field2,$field3) ;
    $data...
    See more | Go to post

  • nel
    started a topic insert into table using array
    in PHP

    insert into table using array

    hi..
    i want to know how to insert data using array in mysql where the data stored in field given? this field_name i taken from database....
    thanks a lot...
    See more | Go to post

  • nel
    replied to insert into multi table with specific field
    in PHP
    this is my code:
    i hope u can understand:

    <?php

    $mysql_link = mysql_connect(" localhost", "root", "");

    // select the 'store' database
    mysql_select_db ("mydb", $mysql_link);


    $petak=$_REQUES T["petak_no"];
    for($a=0;$a<$pe tak;$a++){

    $table_name[$a]=$_REQUEST["table_name "][$a];...
    See more | Go to post

    Leave a comment:


  • nel
    started a topic insert into multi table with specific field
    in PHP

    insert into multi table with specific field

    anybody of u can help me?
    i want some code to insert array coding in database mysql..where this process to many table and to specified field...
    this table name and field name i taken from database from select statement....
    thanks....
    See more | Go to post
No activity results to display
Show More
Working...