Sponsored by NuSphere - PHP Software for PHP Application Developers - On Sale This Week for $100



Go Back   PHP-Editors > Linux, Apache, MySQL > MySQL Help

MySQL Help Post any question relating to MySQL here and hopefully someone can help

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 2006-08-12, 04:14 AM
nel nel is offline
Junior Member
 
Join Date: Mar 2006
Posts: 13
nel
Exclamation 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 take from database from select statement....
thanks....
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 2006-08-14, 12:07 AM
Member
 
Join Date: Jun 2006
Posts: 55
flann is on a distinguished road
Default

could you clarify what you are trying to do?
__________________
flann
Free Mortgage Calculator | Debt Free
Reply With Quote
  #3 (permalink)  
Old 2006-08-14, 05:46 PM
nel nel is offline
Junior Member
 
Join Date: Mar 2006
Posts: 13
nel
Exclamation insert 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 = array($data1,$data2,$data3);

how i can use array(for statement) in this array ?

can u give me sample code..
Reply With Quote
Must read Review for Serious PHP Developers


NuSphere PhpED 5.0 : The Staff of php-editors.com recently spent a few days working with NuSphere PhpED 5.0 (a popular PHP IDE) and NuCoder 1.4 (a PHP Encoding Utility), read up on all the details.

Sponsored Links
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:55 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO 3.1.0
© Copyright 2003-2008 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.