Jump to content

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

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

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