Jump to content

create db with following


mc136

Recommended Posts

Hi I seem to manage to produce the info i need when not using a database. Being new to mysql could someone help in telling me how i should enter the following data into db.

 

$section['servicedesk']['batch'] = 8;

$section['servicedesk']['promo'] = 22;

$section['servicedesk']['ens'] = 2;

$section['status']['fmr'] = 16.00;

$section['status']['odw'] = 16.00;

 

print_r ($section);

 

returns the following:

 

Array ( [servicedesk] => Array ( [batch] => 8 [promo] => 22 [ens] => 2 ) [status] => Array ( [fmr] => 16 [odw] => 16 ) )

Link to comment
https://forums.phpfreaks.com/topic/41642-create-db-with-following/
Share on other sites

hi servicedesk and status represent sections (headings) and for each i need to be able to enter approp info

i.e. servicedesk contains sub directory batch, promo and these contain the values whatever 6, 7, etc

 

e.g. Servicedesk

          batch - 8

          promo - 2

 

      status

          fmr - 3

          odw - 5

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.