Jump to content

nel

Members
  • Posts

    19
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

nel's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi.. I want to know how to create graph like below using PHP + MySQL....this data from database mysql..thanks
  2. i want to know , can i use PHP to develop SMS system by using localhost..? thanks..
  3. can any of you give me some code to 1. make copy file where this file is in large size..? 2. after copy the file, for example in zip format, can you give me code to unzip file automatically. 3. how to validate form in radio, checbox butoon?
  4. can any of you give me some code to 1. make copy file where this file is in large size..? 2. after copy the file, for example in zip format, can you give me code to unzip file automatically. 3. how to validate form in radio, checbox butoon? thanks... :P
  5. i'm not understand yet... i have 1 question: i want to insert data using array. i get the data from $_post.when data inserted its showed for example:                     data_name                value                       place                        USA                       place                        UK                       place                        RUSIA                       place                        CHINA                       place                        JAPAN so i want you to help me, how to insert place and USA in first inserting and next inserting only for value.this because i want to get this data back in select statement. thanks.
  6. thanks for the code..but i still have a problem.. in this code i use while function to call all the data from table_name. so when running the code it will create many select statement according to my value in select list... i hope you can help me...thanks a lot
  7. i have some data for example :                 [B]data_name                value        [/B]                       place                        USA                       place                        UK                       place                        RUSIA                       place                        CHINA                       place                        JAPAN so how i can call from database this data into select, radio and check box. for example:    place:    <select name=place>                                     <option value=USA>USA</option>                                     <option value=USA>USA</option>                                     <option value=USA>USA</option> and more ....
  8. nel

    save code

    hi........ i want to know how to save code into file_name.php after view the code with automatically or press button
  9. thanks foe the code.. but this code make m ucclear for example : $flds.='$fields['.$i'.]'; when i make echo"$flds"; the output contain all of the field and not have comma(,) between field. $dat.='$data['.$i.']'; when i make echo"$dat"; the output contain all of the data and not have comma(,) between data. this all cause the data cannot be inserted. please give me another code...thanks
  10. this is sample inserting that i want to make : "insert into table_name ($field[i], $field[i+1], $field[i+2]) values $data[i], $data[i+1];" so can u give me sample code to in this example. 2. in the array(*,*,*) * use for, for example : array(data[i], $data[i+1]) 3. can you give me sample code, what is yout understand thanks...
  11. actually i want to insert data for example : "insert in $table_name1 f$ield_name1, $field_name2, $field_name3 values $data1, $data2, $data3"; all this variable i get from select statement for example table & field and i get from $_Request for example data. all this variable, i also use array(for statement). 2. $fields = array($field1,$field2,$field3); $data = array($data1,$data2,$data3); how i can use array(for statement) in this array ? can u give me sample code..
  12. [move] now i have 75% understanding...[/move] this is for my knowledge. so i want to know : 1. why i must declare field and data in array() 2. what is the eval() function? 3. what is the code when i have more than one table, so how i can determine what is the field for this table. it because i want to insert the data in field that i had determined. thanks a lot..... :D
  13. $fields = array('field1','field2','field3'); $data = array($data1,$data2,$data3); so how i can call this $field and $data because i use array (for) and field(field1, field2,...) i get from database (table 1) while $data1,$data2,.. , i get from post function. * i don't know how to use array in one query for example field1, field2  ! thanks....
  14. <?php $array= array('field1' => 'data1', 'field2' => 'data2'); $data= serialize($array); $sql= "INSERT INTO sometable (data_column) VALUES ('{$data}')"; ?> i not undersatand yet how to determine "(data_column)" in this query; and how can i determine when have NULL value?
  15. thanks.... [B]i'm 50% understand..[/B] now, the problem is i take the data by request from previous page by using array(for) and  how i can determine which field i can insert in selected table.....can u give me others sample code... thanks...
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.